From c20b8719323e5447694c93d2e186085eef73ef63 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 11 Sep 2022 12:15:18 +0900 Subject: feat(packs/lspconfig): fix RA getting stuck in a loop --- fnl/nvrc/packs/lspconfig.fnl | 2 +- fnl/nvrc/packs/rust.fnl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'fnl') 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)}})) -- cgit 1.4.1