about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-05-07 21:15:44 +0900
committersefidel <contact@sefidel.net>2024-05-07 21:15:44 +0900
commitc50c25e13875034e5bd7632e0a42bce7aa851d26 (patch)
tree1767e43e9282e8c1c0d44b4cab7f69d021bc0a78
parent0fdd5549185422e93141df2bea31582323424245 (diff)
downloadnvimrc-c50c25e13875034e5bd7632e0a42bce7aa851d26.tar.gz
nvimrc-c50c25e13875034e5bd7632e0a42bce7aa851d26.zip
fix(packs/lspconfig): workaround rust-analyzer#16867
-rw-r--r--fnl/nvrc/packs/rust.fnl4
1 files changed, 3 insertions, 1 deletions
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}}}})