Files
dotfiles/vim/.vim/lua/plugins/lsp_lines.lua
2023-11-06 17:11:53 +00:00

24 lines
438 B
Lua

return {
url = "https://git.sr.ht/~whynothugo/lsp_lines.nvim",
name = "lsp_lines.nvim",
config = function()
vim.diagnostic.config({
-- virtual_lines = { only_current_line = true },
virtual_lines = true,
update_on_insert = false,
virtual_text = false,
})
require("lsp_lines").setup()
end,
keys = {
{
"<leader>l",
function()
require("lsp_lines").toggle()
end,
desc = "Toggle LSP Lines",
},
},
}