diff --git a/modules/home-manager/cli/neovim/default.nix b/modules/home-manager/cli/neovim/default.nix index 1960e4f..1528061 100644 --- a/modules/home-manager/cli/neovim/default.nix +++ b/modules/home-manager/cli/neovim/default.nix @@ -87,6 +87,11 @@ in } ''; } + { + plugin = lsp_lines-nvim; + type = "lua"; + config = (builtins.readFile ./files/lsp-line.lua); + } { plugin = nvim-lspconfig; type = "lua"; diff --git a/modules/home-manager/cli/neovim/files/lsp-line.lua b/modules/home-manager/cli/neovim/files/lsp-line.lua new file mode 100644 index 0000000..d10b0bc --- /dev/null +++ b/modules/home-manager/cli/neovim/files/lsp-line.lua @@ -0,0 +1,2 @@ +require('lsp_lines').setup() +vim.diagnostic.config({ virtual_lines = true })