Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Neovim's native LSP semantic tokens #162

Merged
merged 1 commit into from
Dec 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions colors/gruvbox-material.vim
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,30 @@ if has('nvim-0.8.0')
highlight! link @variable.builtin TSVariableBuiltin
endif
" }}}
" neovim/lsp-semantic-tokens {{{
highlight! link LspNamespace TSNamespace
highlight! link LspType TSType
highlight! link LspClass TSType
highlight! link LspEnum TSType
highlight! link LspInterface TSType
highlight! link LspStruct TSType
highlight! link LspTypeParameter TSType
highlight! link LspParameter TSParameter
highlight! link LspVariable TSVariable
highlight! link LspProperty TSProperty
highlight! link LspEnumMember TSVariableBuiltin
highlight! link LspEvent TSLabel
highlight! link LspFunction TSFunction
highlight! link LspMethod TSMethod
highlight! link LspMacro TSMacro
highlight! link LspKeyword TSKeyword
highlight! link LspModifier TSOperator
highlight! link LspComment TSComment
highlight! link LspString TSString
highlight! link LspNumber TSNumber
highlight! link LspRegexp TSStringRegexp
highlight! link LspOperator TSOperator
" }}}
" neoclide/coc.nvim {{{
call gruvbox_material#highlight('CocHoverRange', s:palette.none, s:palette.none, 'bold,underline')
call gruvbox_material#highlight('CocSearch', s:palette.green, s:palette.none, 'bold')
Expand Down