1

Refresh generated neovim config

This commit is contained in:
2024-08-15 13:01:03 +02:00
parent 64b51cf53a
commit f5af8e2b28
1836 changed files with 38979 additions and 31094 deletions

View File

@ -119,7 +119,8 @@ available and fall back to a plain diff with treesitter highlights.
* `side_by_side`, which tells `delta` to render diffs side-by-side. Thus, requires `delta` to be
used. Be aware that `delta` always uses its own configuration, so it might be that you're getting
the side-by-side view even if this is set to false.
* `diff_context_lines`, defaults to your scrolloff value.
* `vim_diff_opts`, defaults to all of `:help vim.diff` default options, but sets `ctxlen` to your
scrolloff value.
* `entry_format`, defaults to `"state #$ID, $STAT, $TIME""`, which contains the three supported
variables.
* `time_format`, defaults to "" for a timeago-style representation. Can be set to a [Lua date format
@ -140,7 +141,9 @@ opts = {
use_delta = true,
use_custom_command = nil, -- setting this implies `use_delta = false`. Accepted format is: { "bash", "-c", "echo '$DIFF' | delta" }
side_by_side = false,
diff_context_lines = vim.o.scrolloff,
vim_diff_opts = {
ctxlen = vim.o.scrolloff,
},
entry_format = "state #$ID, $STAT, $TIME",
time_format = "",
saved_only = false,
@ -197,7 +200,7 @@ require("telescope").setup({
})
```
> [!IMPORTANT]
> [!IMPORTANT]
> Note how above example uses the call to telescope's `setup()`. This is due to the fact that
> directly requiring these actions needs `telescope-undo` to be available already, which it is not
> inside lazy's `opts` key when using above "standalone" spec. See the next example for how to do it