about summary refs log tree commit diff
path: root/fnl/nvrc/packs
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-09-02 14:31:42 +0900
committersefidel <contact@sefidel.net>2023-09-02 14:31:42 +0900
commit2fa871a243155708ae6f3efb93e8f5beae57faa4 (patch)
tree8fd1594ea3fbdf2a42b0210b2432da2a2c15bb1e /fnl/nvrc/packs
parentf0814fa0ec927adfad444b5c1d859a25753810a1 (diff)
downloadnvimrc-2fa871a243155708ae6f3efb93e8f5beae57faa4.tar.gz
nvimrc-2fa871a243155708ae6f3efb93e8f5beae57faa4.zip
Revert "feat(packs/rust)!: disable semantic highlighting"
This reverts commit 38a7badbfa67f29556836c94ce66d872af246385.

* Superseded by f0814fa0ec927adfad444b5c1d859a25753810a1
Diffstat (limited to 'fnl/nvrc/packs')
-rw-r--r--fnl/nvrc/packs/rust.fnl5
1 files changed, 1 insertions, 4 deletions
diff --git a/fnl/nvrc/packs/rust.fnl b/fnl/nvrc/packs/rust.fnl
index 8a1aa98..cb2d9f5 100644
--- a/fnl/nvrc/packs/rust.fnl
+++ b/fnl/nvrc/packs/rust.fnl
@@ -1,6 +1,3 @@
 (local {: setup} (require :rust-tools))
 
-(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))}})
+(setup {:server {:settings {:rust-analyzer {:files {:excludeDirs [:.direnv]} :check {:command :clippy}}}}})