mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
feat: add lsp injected highlights (#148)
This commit is contained in:
parent
835129f6a8
commit
44ba4bd558
1 changed files with 5 additions and 0 deletions
|
|
@ -274,6 +274,11 @@ function M._load(options)
|
|||
h('@lsp.typemod.function.defaultLibrary', { link = 'Special' })
|
||||
h('@lsp.typemod.variable.defaultLibrary', { link = '@variable.builtin' })
|
||||
|
||||
-- LSP Injected Groups
|
||||
h('@lsp.typemod.operator.injected', { link = '@operator' })
|
||||
h('@lsp.typemod.string.injected', { link = '@string' })
|
||||
h('@lsp.typemod.variable.injected', { link = '@variable' })
|
||||
|
||||
-- vim.lsp.buf.document_highlight()
|
||||
h('LspReferenceText', { bg = p.highlight_med })
|
||||
h('LspReferenceRead', { bg = p.highlight_med })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue