diff options
author | sefidel <contact@sefidel.net> | 2024-05-07 21:15:44 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-05-07 21:15:44 +0900 |
commit | c50c25e13875034e5bd7632e0a42bce7aa851d26 (patch) | |
tree | 1767e43e9282e8c1c0d44b4cab7f69d021bc0a78 /fnl/nvrc | |
parent | 0fdd5549185422e93141df2bea31582323424245 (diff) | |
download | nvimrc-c50c25e13875034e5bd7632e0a42bce7aa851d26.tar.gz nvimrc-c50c25e13875034e5bd7632e0a42bce7aa851d26.zip |
fix(packs/lspconfig): workaround rust-analyzer#16867
Diffstat (limited to 'fnl/nvrc')
-rw-r--r-- | fnl/nvrc/packs/rust.fnl | 4 |
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}}}}) |