add TSNone

This commit is contained in:
kiyan42
2020-09-14 21:00:03 +02:00
committed by Stephan Seitz
parent bfdee5658a
commit 71ba2afc70
3 changed files with 6 additions and 0 deletions

View File

@@ -68,6 +68,8 @@ hlmap["text.title"] = "TSTitle"
hlmap["text.literal"] = "TSLiteral"
hlmap["text.uri"] = "TSURI"
hlmap["none"] = "TSNone"
function M.attach(bufnr, lang)
local lang = lang or parsers.get_buf_lang(bufnr)
local config = configs.get_module('highlight')

View File

@@ -67,3 +67,5 @@ highlight default TSUnderline term=underline cterm=underline gui=underline
highlight default link TSTitle Title
highlight default link TSLiteral String
highlight default link TSURI Underlined
highlight default TSNone term=none cterm=none gui=none guifg=none guibg=none

View File

@@ -8,3 +8,5 @@
(jsx_closing_element name: (identifier) @variable.builtin)
(jsx_opening_element name: (identifier) @variable.builtin)
(jsx_self_closing_element name: (identifier) @variable.builtin)
(jsx_text) @none