Skip to content

Commit

Permalink
feat(vim-lsp): support for semantic highlighting and inlayHints
Browse files Browse the repository at this point in the history
  • Loading branch information
sainnhe committed Aug 25, 2022
1 parent 9011a42 commit 5b76830
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ All notable changes to this project will be documented in this file.
- Optimize `ggandor/lightspeed.nvim`.
- Optimize `pwntester/octo.nvim`.
- Optimize `simrat39/symbols-outline.nvim`.
- Support for YCM semantic highlighting.
- Support for YCM semantic highlighting and inlayHints.
- Optimize `MattesGroeger/vim-bookmarks`.
- Support for vim-lsp semantic highlighting and inlayHints.

### Changed

Expand Down
24 changes: 23 additions & 1 deletion colors/gruvbox-material.vim
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
let s:configuration = gruvbox_material#get_configuration()
let s:palette = gruvbox_material#get_palette(s:configuration.background, s:configuration.foreground, s:configuration.colors_override)
let s:path = expand('<sfile>:p') " the path of this script
let s:last_modified = 'Thu Aug 25 08:27:21 UTC 2022'
let s:last_modified = 'Thu Aug 25 10:43:01 UTC 2022'
let g:gruvbox_material_loaded_file_types = []

if !(exists('g:colors_name') && g:colors_name ==# 'gruvbox-material' && s:configuration.better_performance)
Expand Down Expand Up @@ -624,6 +624,28 @@ highlight! link LspWarningHighlight WarningText
highlight! link LspInformationHighlight InfoText
highlight! link LspHintHighlight HintText
highlight! link lspReference CurrentWord
highlight! link lspInlayHintsType LineNr
highlight! link lspInlayHintsParameter LineNr
highlight! link LspSemanticType TSType
highlight! link LspSemanticClass TSType
highlight! link LspSemanticEnum TSType
highlight! link LspSemanticInterface TSType
highlight! link LspSemanticStruct TSType
highlight! link LspSemanticTypeParameter TSType
highlight! link LspSemanticParameter TSParameter
highlight! link LspSemanticVariable TSVariable
highlight! link LspSemanticProperty TSProperty
highlight! link LspSemanticEnumMember TSVariableBuiltin
highlight! link LspSemanticEvents TSLabel
highlight! link LspSemanticFunction TSFunction
highlight! link LspSemanticMethod TSMethod
highlight! link LspSemanticKeyword TSKeyword
highlight! link LspSemanticModifier TSOperator
highlight! link LspSemanticComment TSComment
highlight! link LspSemanticString TSString
highlight! link LspSemanticNumber TSNumber
highlight! link LspSemanticRegexp TSStringRegex
highlight! link LspSemanticOperator TSOperator
" }}}
" ycm-core/YouCompleteMe {{{
highlight! link YcmErrorSign RedSign
Expand Down

0 comments on commit 5b76830

Please sign in to comment.