about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-19 21:32:51 +0200
committerSoispha <soispha@vhack.eu>2023-08-19 21:32:51 +0200
commit63a42e7078f453387e702da051377a47901d6092 (patch)
tree7b6a04ed938742637b0979fee85ed8cf0fe1c662
parentFix(hm/conf/neovim/plugins/lualine): Correctly qoute string (diff)
downloadnixos-config-63a42e7078f453387e702da051377a47901d6092.tar.gz
nixos-config-63a42e7078f453387e702da051377a47901d6092.zip
Fix(hm/conf/neovim/plugins/lsp): Remove duplicated setup of capabilities
NixVim automatically sets up the capabilities if the nvim_cmp plugin is
activated.
Diffstat (limited to '')
-rw-r--r--home-manager/soispha/config/neovim/nixvim/plugins/lsp/default.nix4
1 files changed, 0 insertions, 4 deletions
diff --git a/home-manager/soispha/config/neovim/nixvim/plugins/lsp/default.nix b/home-manager/soispha/config/neovim/nixvim/plugins/lsp/default.nix
index 8fd09e3d..b7c1e174 100644
--- a/home-manager/soispha/config/neovim/nixvim/plugins/lsp/default.nix
+++ b/home-manager/soispha/config/neovim/nixvim/plugins/lsp/default.nix
@@ -14,10 +14,6 @@
       #        end
       #      ''
       ;
-    # TODO only for cmp_nvim_lsp
-    capabilities = ''
-      capabilities = require('cmp_nvim_lsp').default_capabilities();
-    '';
     preConfig = ''
       vim.diagnostic.config({
           underline = true,