From 6495b4ff40479ec7705addb4ea800ec308026648 Mon Sep 17 00:00:00 2001 From: stnley <64174376+stnley@users.noreply.github.com> Date: Sun, 29 Oct 2023 09:48:54 -0400 Subject: [PATCH] (nvim) add LSP semantic tokens (#314) --- colors/dracula.vim | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/colors/dracula.vim b/colors/dracula.vim index 009ffe2..1725352 100644 --- a/colors/dracula.vim +++ b/colors/dracula.vim @@ -296,6 +296,24 @@ if has('nvim') hi! link DiagnosticUnderlineWarn DraculaWarnLine hi! link WinSeparator DraculaWinSeparator + + if has('nvim-0.9') + hi! link @lsp.type.class DraculaCyan + hi! link @lsp.type.decorator DraculaGreen + hi! link @lsp.type.enum DraculaCyan + hi! link @lsp.type.enumMember DraculaPurple + hi! link @lsp.type.function DraculaGreen + hi! link @lsp.type.interface DraculaCyan + hi! link @lsp.type.macro DraculaCyan + hi! link @lsp.type.method DraculaGreen + hi! link @lsp.type.namespace DraculaCyan + hi! link @lsp.type.parameter DraculaOrangeItalic + hi! link @lsp.type.property DraculaOrange + hi! link @lsp.type.struct DraculaCyan + hi! link @lsp.type.type DraculaCyanItalic + hi! link @lsp.type.typeParameter DraculaPink + hi! link @lsp.type.variable DraculaFg + endif else hi! link SpecialKey DraculaPink endif