diff options
author | sefidel <contact@sefidel.net> | 2024-05-18 19:01:21 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-05-18 19:01:21 +0900 |
commit | 4a0f1b4d56e1c7d212a05c6d69a1e27790065e16 (patch) | |
tree | 439c3f3cb927178d271068f85b1584a841a40536 /fnl/nvrc | |
parent | 6a7e4fb630ca7a826aa076799bebb94e9a99ebe5 (diff) | |
download | nvimrc-4a0f1b4d56e1c7d212a05c6d69a1e27790065e16.tar.gz nvimrc-4a0f1b4d56e1c7d212a05c6d69a1e27790065e16.zip |
fixup! feat(packs/rust): replace rust-tools.nvim with rustaceanvim
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}}}}) |