From c50c25e13875034e5bd7632e0a42bce7aa851d26 Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 7 May 2024 21:15:44 +0900 Subject: fix(packs/lspconfig): workaround rust-analyzer#16867 --- fnl/nvrc/packs/rust.fnl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'fnl/nvrc/packs') diff --git a/fnl/nvrc/packs/rust.fnl b/fnl/nvrc/packs/rust.fnl index cb2d9f5..c79d0f4 100644 --- a/fnl/nvrc/packs/rust.fnl +++ b/fnl/nvrc/packs/rust.fnl @@ -1,3 +1,5 @@ (local {: setup} (require :rust-tools)) -(setup {:server {:settings {:rust-analyzer {:files {:excludeDirs [:.direnv]} :check {:command :clippy}}}}}) +(setup {:server {:settings {:rust-analyzer {:files {:excludeDirs [:.direnv]} :check {:command :clippy}}} + ;; TODO: workaround https://github.com/rust-lang/rust-analyzer/issues/16867#issuecomment-2009391788 + :capabilities {:experimental {:snippetTextEdit false}}}}) -- cgit 1.4.1