summaryrefslogtreecommitdiffstats
path: root/usecases
diff options
context:
space:
mode:
authorMinijackson <minijackson@riseup.net>2023-01-30 21:40:05 +0100
committerMinijackson <minijackson@riseup.net>2023-01-30 22:06:41 +0100
commit3aa7893829224a70566728f6056ec97ae12ae03a (patch)
tree850c50adf8bfbf8ee47cfebef5a906122eda5044 /usecases
parent7357b53d8a49604e95d5c9b4b970936029754c6a (diff)
downloadnixos-config-reborn-3aa7893829224a70566728f6056ec97ae12ae03a.tar.gz
nixos-config-reborn-3aa7893829224a70566728f6056ec97ae12ae03a.zip
development: setup clangd_extensions nvim plugin
Diffstat (limited to 'usecases')
-rw-r--r--usecases/desktop/development.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/usecases/desktop/development.nix b/usecases/desktop/development.nix
index c07a1a9..54a869e 100644
--- a/usecases/desktop/development.nix
+++ b/usecases/desktop/development.nix
@@ -76,6 +76,7 @@ in
76 nlua-nvim 76 nlua-nvim
77 nvim-lspconfig 77 nvim-lspconfig
78 rust-tools-nvim 78 rust-tools-nvim
79 clangd_extensions-nvim
79 vim-grammarous 80 vim-grammarous
80 playground 81 playground
81 ]; 82 ];
@@ -83,10 +84,10 @@ in
83 variables = { 84 variables = {
84 rust_analyzer_path = "${rust-analyzer-unwrapped}/bin/rust-analyzer"; 85 rust_analyzer_path = "${rust-analyzer-unwrapped}/bin/rust-analyzer";
85 sumneko_lua_base_path = "${sumneko-lua-language-server}"; 86 sumneko_lua_base_path = "${sumneko-lua-language-server}";
87 clangd_path = "${clang-tools}/bin/clangd";
86 }; 88 };
87 89
88 lsp = { 90 lsp = {
89 clangd.cmd = [ "${clang-tools}/bin/clangd" "--resource-dir=${clang}/resource-root" ];
90 elixirls.cmd = [ "${elixir_ls}/bin/elixir-ls" ]; 91 elixirls.cmd = [ "${elixir_ls}/bin/elixir-ls" ];
91 pylsp.cmd = [ "${python-lsp-server}/bin/pylsp" ]; 92 pylsp.cmd = [ "${python-lsp-server}/bin/pylsp" ];
92 hls.cmd = [ "${haskell-language-server}/bin/haskell-language-server" "--lsp" ]; 93 hls.cmd = [ "${haskell-language-server}/bin/haskell-language-server" "--lsp" ];