rounded somethign

This commit is contained in:
Anish Lakhwara 2022-12-30 21:06:14 +10:00
parent 444b82680d
commit 532ec3e17f

View file

@ -467,6 +467,14 @@ in
}
)
local orig_util_open_floating_preview = vim.lsp.util.open_floating_preview
function vim.lsp.util.open_floating_preview(contents, syntax, opts, ...)
opts = opts or {}
opts.border = opts.border or 'rounded'
return orig_util_open_floating_preview(contents, syntax, opts, ...)
end
vim.api.nvim_set_keymap('n', '<leader>vt', ':call v:lua.toggle_diagnostics()<CR>', {noremap = true, silent = true})
-- autopairs