From 4a0f1b4d56e1c7d212a05c6d69a1e27790065e16 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 18 May 2024 19:01:21 +0900 Subject: fixup! feat(packs/rust): replace rust-tools.nvim with rustaceanvim --- fnl/nvrc/packs/rust.fnl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fnl/nvrc/packs') 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}}}}) -- cgit 1.4.1