test treesiter highlights

v2.5
siduck76 5 years ago
parent f77b07906c
commit 191574b3a5

@ -330,6 +330,58 @@ local function apply_base16_theme(theme, use_256_colorspace)
-- Java highlighting
highlight("javaOperator", theme.base0D, nil, cterm0D, nil, nil, nil)
-- treesitter
highlight('TSNone', theme.base05, theme.base00, cterm05, cterm00, nil, nil)
highlight('TSPunctDelimiter', theme.base07, nil, cterm07, nil, nil, nil)
highlight('TSPunctBracket', theme.base07, nil, cterm07, nil, nil, nil)
highlight('TSPunctSpecial', theme.base0F, nil, cterm0F, nil, nil, nil)
highlight('TSConstant', theme.base09, nil, cterm0B, nil, "bold", nil)
highlight('TSConstBuiltin', theme.base0C, nil, cterm0C, nil, nil, nil)
highlight('TSConstMacro', theme.base0E, nil, cterm0E, nil, "none", nil)
highlight('TSString', theme.base0B, nil, cterm0B, nil, nil, nil)
highlight('TSStringRegex', theme.base0B, nil, cterm0B, nil, nil, nil)
highlight('TSStringEscape', theme.base0F, nil, cterm0F, nil, nil, nil)
highlight('TSCharacter', theme.base08, nil, cterm08, nil, nil, nil)
highlight('TSNumber', theme.base0B, nil, cterm0B, nil, nil, nil)
highlight('TSBoolean', theme.base0B, nil, cterm0B, nil, "bold", nil)
highlight('TSFloat', theme.base0B, nil, cterm0B, nil, nil, nil)
highlight('TSFunction', theme.base0D, nil, cterm0D, nil, "bold", nil)
highlight('TSFuncBuiltin', theme.base0C, nil, cterm0C, nil, nil, nil)
highlight('TSFuncMacro', theme.base08, nil, cterm08, nil, nil, nil)
highlight('TSParameter', theme.base08, nil, cterm08, nil, "none", nil)
highlight('TSParameterReference', theme.base08, nil, cterm08, nil, "none", nil)
highlight('TSMethod', theme.base0D, nil, cterm0D, nil, "bold", nil)
highlight('TSField', theme.base0A, nil, cterm0A, nil, "none", nil)
highlight('TSProperty', theme.base08, nil, cterm08, nil, "none", nil)
highlight('TSConstructor', theme.base0C, nil, cterm0C, nil, nil, nil)
highlight('TSAnnotation', theme.base0A, nil, cterm0A, nil, nil, nil)
highlight('TSAttribute', theme.base0A, nil, cterm0A, nil, nil, nil)
highlight('TSNamespace', theme.base0D, nil, cterm0D, nil, nil, nil)
highlight('TSConditional', theme.base0E, nil, cterm0E, nil, nil, nil)
highlight('TSRepeat', theme.base0A, nil, cterm0A, nil, nil, nil)
highlight('TSLabel', theme.base0A, nil, cterm0A, nil, nil, nil)
highlight('TSOperator', theme.base07, nil, cterm07, nil, "none", nil)
highlight('TSKeyword', theme.base0E, nil, cterm0E, nil, nil, nil)
highlight('TSKeywordFunction', theme.base0E, nil, cterm0E, nil, "bold", nil)
highlight('TSKeywordOperator', theme.base05, nil, cterm05, nil, "none", nil)
highlight('TSException', theme.base08, nil, cterm08, nil, nil, nil)
highlight('TSType', theme.base0A, nil, cterm0A, nil, "bold", nil)
highlight('TSTypeBuiltin', theme.base0A, nil, cterm0A, nil, "bold", nil)
highlight('TSInclude', theme.base0D, nil, cterm0D, nil, nil, nil)
highlight('TSVariableBuiltin', theme.base0C, nil, cterm0C, nil, nil, nil)
highlight('TSText', theme.base05, theme.base00, cterm05, cterm00, nil, nil)
highlight('TSStrong', theme.base07, theme.base00, cterm07, cterm00, "bold", nil)
highlight('TSEmphasis', theme.base06, theme.base00, cterm06, cterm00, "italic", nil)
highlight('TSUnderline', theme.base05, theme.base00, cterm05, cterm00, "underline", nil)
highlight('TSTitle', theme.base0D, nil, cterm0D, nil, "none", nil)
highlight('TSLiteral', theme.base0B, nil, cterm0B, nil, nil, nil)
highlight('TSURI', theme.base08, nil, cterm08, nil, nil, nil)
highlight('TSTag', theme.base0A, nil, cterm0A, nil, nil, nil)
highlight('TSTagDelimiter', theme.base0F, nil, cterm0F, nil, nil, nil)
highlight('TSDefinitionUsage', nil, theme.base02, nil, cterm02, nil, nil)
highlight('TSDefinition', theme.base01, theme.base0A, cterm01, cterm0A, nil, nil)
highlight('TSCurrentScope', nil, theme.base01, nil, cterm01, "none", nil)
-- TODO
-- nvim.command 'syntax on'
end

Loading…
Cancel
Save