v3 Help
#141
Replies: 1 comment
-
There appears to be an issue with disabling mini.trailspace in a new buffer, we're setting Workaround in vim.api.nvim_create_autocmd(
"User",
{
pattern = { "FlogUpdate" },
callback = function (ev)
require("mini.trailspace").unhighlight()
end,
}
) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The v3 release recently came out.
Feel free to leave feedback or ask questions here.
v2 Migration Instructions
:Floggit --focus
flag has been replaced with:Floggit --blur
, which has the opposite function.If you have any custom
:Floggit
commands, change:Floggit -f
or:Floggit --focus
to:Floggit
.Change
:Floggit
commands that don't use these flags to:Floggit -b
or:Floggit --blur
.flog#Exec()
andflog#ExecTmp()
functions now uses a dictionary for options.Change any references from
flog#Exec(cmd, focus, static, tmp)
toflog#Exec(cmd, { 'blur': !focus, 'static': static, 'tmp': tmp })
.focus
option forflog#Exec()
has been replaced withblur
, which has the opposite function.Change
flog#Exec(cmd)
orflog#Exec(cmd, 0)
toflog#Exec(cmd, { "blur": 1 })
.Change
flog#Exec(cmd, 1)
toflog#Exec(cmd, { "blur": 0 })
orflog#Exec(cmd)
.flog#Exec()
with custom functions, be aware temporary windows no longer close dynamically.This means that previous temporary windows close if you set
opts.tmp
to true, whether you actually open windows or not.If your command opens temporary windows non-deterministically, please use lower-level functions.
If you previously had 9 custom branch highlight groups, you can set
g:flog_num_branch_colors
to9
.New Option Configuration Tips
g:flog_enable_extended_chars
to1
.This currently requires the Kitty terminal or flog-symbols.
g:flog_enable_dynamic_commit_hl
to1
.g:flog_enable_dynamic_branch_hl
to0
.sudo sysctl fs.inotify.max_user_watches=524288
g:flog_permanent_default_opts.auto_update
to1
. (Neovim only)init.lua
file, you may want to switch to the new Lua wrapper functions.For example,
vim.fn['flog#ExecTmp']()
is now available asrequire('flog').exec_tmp()
.%P
withflog#Format()
if you have any commands that you would like to always use the current path.For example, if you would like a similar command that acts like
<Tab>
if a path is specified and<CR>
otherwise:flog#Format('vertical belowright Floggit -b -s -t show %h %P')
%(h'x,'y)
item can be used withflog#Format()
for any commands you want to get a range for.For example, to cherry-pick the visual range of commits from bottom to top:
flog#Exec(flog#Format(\"Floggit cherry-pick %(h'>,'<)\"))
Beta Was this translation helpful? Give feedback.
All reactions