about summary refs log tree commit diff
path: root/fnl/nvrc/packs
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-05-18 19:01:21 +0900
committersefidel <contact@sefidel.net>2024-05-18 19:01:21 +0900
commit4a0f1b4d56e1c7d212a05c6d69a1e27790065e16 (patch)
tree439c3f3cb927178d271068f85b1584a841a40536 /fnl/nvrc/packs
parent6a7e4fb630ca7a826aa076799bebb94e9a99ebe5 (diff)
downloadnvimrc-4a0f1b4d56e1c7d212a05c6d69a1e27790065e16.tar.gz
nvimrc-4a0f1b4d56e1c7d212a05c6d69a1e27790065e16.zip
fixup! feat(packs/rust): replace rust-tools.nvim with rustaceanvim
Diffstat (limited to 'fnl/nvrc/packs')
-rw-r--r--fnl/nvrc/packs/rust.fnl4
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}}}})