Skip to content

Commit

Permalink
Add lsp types to colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Matsuuu committed Oct 24, 2023
1 parent 357675f commit 60df934
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions colors/pinkmare.vim
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ if &background ==# 'dark'
\ 'grey': ['#444444', '245', 'LightGrey'],
\ 'light_grey': ['#6D7A72', '245', 'LightGrey'],
\ 'gold': ['#fff0f5', '214', 'Yellow'],
\ 'findme': ['#4DB560', '215', 'FindMe'],
\ 'none': ['NONE', 'NONE', 'NONE']
\ }

Expand Down Expand Up @@ -77,6 +78,7 @@ if &background ==# 'light'
\ 'grey': ['#444444', '245', 'LightGrey'],
\ 'light_grey': ['#6D7A72', '245', 'LightGrey'],
\ 'gold': ['#fff0f5', '214', 'Yellow'],
\ 'findme': ['#4DB560', '215', 'FindMe'],
\ 'none': ['NONE', 'NONE', 'NONE']
\ }

Expand Down Expand Up @@ -1885,6 +1887,23 @@ call s:HL('@regexp', s:palette.cyan, s:palette.none)
call s:HL('@typeParameter', s:palette.cyan, s:palette.none)
call s:HL('@decorator', s:palette.cyan, s:palette.none)

call s:HL('@lsp.type.class', s:palette.orange, s:palette.none)
call s:HL('@lsp.type.decorator', s:palette.cyan, s:palette.none)
call s:HL('@lsp.type.enum', s:palette.red, s:palette.none)
call s:HL('@lsp.type.enumMember', s:palette.red, s:palette.none)
call s:HL('@lsp.type.function', s:palette.purple, s:palette.none)
call s:HL('@lsp.type.interface', s:palette.red, s:palette.none)
call s:HL('@lsp.type.macro', s:palette.purple, s:palette.none)
call s:HL('@lsp.type.method', s:palette.purple, s:palette.none)
call s:HL('@lsp.type.namespace', s:palette.orange, s:palette.none)
call s:HL('@lsp.type.parameter', s:palette.blue, s:palette.none)
call s:HL('@lsp.type.property', s:palette.blue, s:palette.none)
call s:HL('@lsp.type.struct', s:palette.red, s:palette.none)
call s:HL('@lsp.type.type', s:palette.yellow, s:palette.none)
call s:HL('@lsp.type.typeParameter', s:palette.cyan, s:palette.none)
call s:HL('@lsp.type.variable', s:palette.blue, s:palette.none)


" -------------------

call s:HL('TSError', s:palette.red, s:palette.none, 'italic')
Expand Down

0 comments on commit 60df934

Please sign in to comment.