Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
TwIStOy committed Apr 15, 2024
1 parent 54e4389 commit b61859d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions lua/dotvim/pkgs/lsp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ local M = {
require("dotvim.pkgs.lsp.plugins.lspkind"),
require("dotvim.pkgs.lsp.plugins.glance"),
require("dotvim.pkgs.lsp.plugins.aerial"),
require("dotvim.pkgs.lsp.plugins.lsp-lines"),
},
setup = function()
require("dotvim.extra.fswatch")()
Expand Down
21 changes: 21 additions & 0 deletions lua/dotvim/pkgs/lsp/plugins/lsp-lines.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---@type dotvim.core.plugin.PluginOption
return {
"~whynothugo/lsp_lines.nvim",
url = "https://git.sr.ht/~whynothugo/lsp_lines.nvim",
event = "LspAttach",
opts = {},
config = function(_, opts)
vim.diagnostic.config { virtual_lines = false }
require("lsp_lines").setup(opts)
end,
actions = {
{
id = "lsp_lines.toggle",
title = "Toggle lsp-lines",
callback = function()
require("lsp_lines").toggle()
end,
keys = { "<leader>tl", desc = "toggle-lsp-lines" },
},
},
}

0 comments on commit b61859d

Please sign in to comment.