about summary refs log tree commit diff
path: root/fnl/nvrc/packs
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/nvrc/packs')
-rw-r--r--fnl/nvrc/packs/rust.fnl5
1 files changed, 4 insertions, 1 deletions
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))}})