ref(nvim): moved options

This commit is contained in:
Léana 江 2023-10-25 21:44:20 +02:00 committed by Léana 江
parent 611d910c26
commit 7462368a18
2 changed files with 13 additions and 13 deletions

View file

@ -38,3 +38,16 @@ opt.foldlevelstart = 99
opt.foldenable = true
opt.winbar = "%{%v:lua.require'winbar'.eval()%}"
-- Helix style border
local border = {
{ " ", "FloatBorder" }, { " ", "FloatBorder" },
{ " ", "FloatBorder" }, { " ", "FloatBorder" },
{ " ", "FloatBorder" }, { " ", "FloatBorder" },
{ " ", "FloatBorder" }, { " ", "FloatBorder" },
}
local orig_util_open_floating_preview = vim.lsp.util.open_floating_preview
function vim.lsp.util.open_floating_preview(contents, syntax, opts, ...)
opts.border = border
return orig_util_open_floating_preview(contents, syntax, opts, ...)
end