From 38a7badbfa67f29556836c94ce66d872af246385 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 2 Sep 2023 11:38:37 +0900 Subject: feat(packs/rust)!: disable semantic highlighting --- fnl/nvrc/packs/rust.fnl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'fnl/nvrc/packs') diff --git a/fnl/nvrc/packs/rust.fnl b/fnl/nvrc/packs/rust.fnl index cb2d9f5..8a1aa98 100644 --- a/fnl/nvrc/packs/rust.fnl +++ b/fnl/nvrc/packs/rust.fnl @@ -1,3 +1,6 @@ (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}}} + ;; Disable semantic highlighting + :on_attach (fn [client bufnr] (set client.server_capabilities.semanticTokensProvider nil))}}) -- cgit 1.4.1