diff options
author | sefidel <contact@sefidel.net> | 2022-09-11 12:15:18 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2022-09-11 12:15:18 +0900 |
commit | c20b8719323e5447694c93d2e186085eef73ef63 (patch) | |
tree | d1bb9375f2d1943d7a4e4be714be8edcdee3a045 | |
parent | cbf1a4d262cabe103296942414ff1c5248a64c75 (diff) | |
download | nvimrc-c20b8719323e5447694c93d2e186085eef73ef63.tar.gz nvimrc-c20b8719323e5447694c93d2e186085eef73ef63.zip |
feat(packs/lspconfig): fix RA getting stuck in a loop
-rw-r--r-- | fnl/nvrc/packs/lspconfig.fnl | 2 | ||||
-rw-r--r-- | fnl/nvrc/packs/rust.fnl | 2 |
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)}})) |