mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
wip: update semantic tokens
This commit is contained in:
parent
842e0ba259
commit
2857379646
1 changed files with 12 additions and 1 deletions
|
|
@ -200,6 +200,7 @@ function M._load(options)
|
|||
h('@attribute', { link = 'PreProc' })
|
||||
h('@boolean', { link = 'Boolean' })
|
||||
h('@character', { link = 'Character' })
|
||||
h('@class', { fg = p.foam })
|
||||
h('@comment', { link = 'Comment' })
|
||||
h('@conditional', { link = 'Conditional' })
|
||||
h('@constant', { fg = p.foam })
|
||||
|
|
@ -208,6 +209,7 @@ function M._load(options)
|
|||
h('@field', { fg = p.foam })
|
||||
h('@function', { fg = p.rose })
|
||||
h('@function.builtin', { fg = p.love })
|
||||
-- h('@defaultLibrary', {})
|
||||
h('@include', { fg = p.pine })
|
||||
h('@keyword', { fg = p.pine })
|
||||
h('@keyword.operator', { fg = p.subtle })
|
||||
|
|
@ -216,7 +218,7 @@ function M._load(options)
|
|||
h('@number', { link = 'Number' })
|
||||
h('@operator', { fg = p.subtle })
|
||||
h('@parameter', { fg = p.iris, italic = maybe.italic })
|
||||
h('@property', { fg = p.iris, italic = maybe.italic })
|
||||
h('@property', { fg = p.foam, italic = maybe.italic })
|
||||
h('@punctuation.bracket', { fg = groups.punctuation })
|
||||
h('@punctuation.delimiter', { fg = groups.punctuation })
|
||||
h('@punctuation.special', { fg = groups.punctuation })
|
||||
|
|
@ -244,6 +246,15 @@ function M._load(options)
|
|||
h('@type', { link = 'Type' })
|
||||
h('@variable', { fg = p.text, italic = maybe.italic })
|
||||
h('@variable.builtin', { fg = p.love })
|
||||
-- h('@struct', {})
|
||||
-- h('@enum', {})
|
||||
-- h('@enumMember', {})
|
||||
-- h('@event', {})
|
||||
-- h('@interface', {})
|
||||
-- h('@modifier', {})
|
||||
-- h('@regexp', {})
|
||||
-- h('@typeParameter', {})
|
||||
-- h('@decorator', {})
|
||||
|
||||
-- vim.lsp.buf.document_highlight()
|
||||
h('LspReferenceText', { bg = p.highlight_med })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue