feat(tsx): better colors for tsx tags
This commit is contained in:
parent
c5df636ce6
commit
f10213d25e
@ -54,7 +54,7 @@ function M.docs()
|
||||
local names = vim.tbl_keys(M.extras)
|
||||
table.sort(names)
|
||||
for _, name in ipairs(names) do
|
||||
info = M.extras[name]
|
||||
local info = M.extras[name]
|
||||
table.insert(lines, "- [" .. info.label .. "](" .. info.url .. ") ([" .. name .. "](extras/" .. name .. "))")
|
||||
end
|
||||
readme = readme:gsub(pattern, "%1\n" .. table.concat(lines, "\n") .. "\n%2")
|
||||
|
@ -257,6 +257,11 @@ function M.setup()
|
||||
|
||||
["@namespace"] = { link = "Include" },
|
||||
|
||||
-- tsx
|
||||
["@tag.tsx"] = { fg = c.red },
|
||||
["@constructor.tsx"] = { fg = c.blue1 },
|
||||
["@tag.delimiter.tsx"] = { fg = util.darken(c.blue, 0.7) },
|
||||
|
||||
-- LSP Semantic Token Groups
|
||||
["@lsp.type.comment"] = { link = "@comment" },
|
||||
["@lsp.type.enum"] = { link = "@type" },
|
||||
|
Loading…
Reference in New Issue
Block a user