about summary refs log tree commit diff
path: root/fnl/nvrc/packs
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/nvrc/packs')
-rw-r--r--fnl/nvrc/packs/lspconfig.fnl2
-rw-r--r--fnl/nvrc/packs/rust.fnl2
2 files changed, 2 insertions, 2 deletions
diff --git a/fnl/nvrc/packs/lspconfig.fnl b/fnl/nvrc/packs/lspconfig.fnl
index 70ab00a..fc27d9f 100644
--- a/fnl/nvrc/packs/lspconfig.fnl
+++ b/fnl/nvrc/packs/lspconfig.fnl
@@ -32,5 +32,5 @@
                      :signs false}))
 
 (init_lsp :hls)
-(init_lsp :rust_analyzer)
+(init_lsp :rust_analyzer {:settings {:rust-analyzer {:files {:excludeDirs [:.direnv] }}}})
 (init_lsp :ltex)
diff --git a/fnl/nvrc/packs/rust.fnl b/fnl/nvrc/packs/rust.fnl
index 90024b8..c1386fb 100644
--- a/fnl/nvrc/packs/rust.fnl
+++ b/fnl/nvrc/packs/rust.fnl
@@ -4,4 +4,4 @@
       extension-path (.. (os.getenv :HOME) "/.codelldb/share/vscode/extensions/vadimcn.vscode-lldb/")
       codelldb-path (.. extension-path "adapter/codelldb")
       liblldb-path (.. extension-path "lldb/lib/liblldb.so")]
-  (setup {:dap {:adapter (rust-tools-dap.get_codelldb_adapter codelldb-path liblldb-path)}}))
+  (setup {:server {:settings {:rust-analyzer {:files {:excludeDirs [:.direnv]}}}} :dap {:adapter (rust-tools-dap.get_codelldb_adapter codelldb-path liblldb-path)}}))