diff options
author | sefidel <contact@sefidel.net> | 2023-09-02 11:38:37 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-09-02 11:38:37 +0900 |
commit | 38a7badbfa67f29556836c94ce66d872af246385 (patch) | |
tree | 2905b9dc188e22217dd7293d3e951d3d38d7a12f /fnl/nvrc | |
parent | be3968e4bcce75e64ced71a35d26c8d985161720 (diff) | |
download | nvimrc-38a7badbfa67f29556836c94ce66d872af246385.tar.gz nvimrc-38a7badbfa67f29556836c94ce66d872af246385.zip |
feat(packs/rust)!: disable semantic highlighting
Diffstat (limited to 'fnl/nvrc')
-rw-r--r-- | fnl/nvrc/packs/rust.fnl | 5 |
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))}}) |