diff options
Diffstat (limited to 'fnl/nvrc')
-rw-r--r-- | fnl/nvrc/packs/rust.fnl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fnl/nvrc/packs/rust.fnl b/fnl/nvrc/packs/rust.fnl index c79d0f4..474ce8d 100644 --- a/fnl/nvrc/packs/rust.fnl +++ b/fnl/nvrc/packs/rust.fnl @@ -1,5 +1,5 @@ -(local {: setup} (require :rust-tools)) +(import-macros {: setv!} :nvrc.macro.set) -(setup {:server {:settings {:rust-analyzer {:files {:excludeDirs [:.direnv]} :check {:command :clippy}}} +(setv! vim.g.rustaceanvim {: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}}}}) |