Skip to content

Commit 8c0d9b5

Browse files
committed
recommend to set 'semantic_tokens' to partial when using nvim-lspconfig
See zigtools/zls#1928
1 parent dd381f4 commit 8c0d9b5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

content/zls/editors/vim/nvim-lspconfig.smd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ lspconfig.zls.setup {
6666
-- https://zigtools.org/zls/guides/build-on-save/
6767
-- enable_build_on_save = true,
6868

69+
-- Neovim already provides basic syntax highlighting
70+
semantic_tokens = "partial",
71+
6972
-- omit the following line if `zig` is in your PATH
7073
zig_exe_path = '/path/to/zig_executable'
7174
}

0 commit comments

Comments
 (0)