diff --git a/lua/tokyonight/extra/init.lua b/lua/tokyonight/extra/init.lua index 8e00bc8..cfb4d5b 100644 --- a/lua/tokyonight/extra/init.lua +++ b/lua/tokyonight/extra/init.lua @@ -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") diff --git a/lua/tokyonight/theme.lua b/lua/tokyonight/theme.lua index 299d906..2883703 100644 --- a/lua/tokyonight/theme.lua +++ b/lua/tokyonight/theme.lua @@ -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" },