Skip to content

Commit 00c1dce

Browse files
authored
Merge pull request #94 from version-1/main
fix: map @tag.builtin.tsx to @tag.tsx for builtin tags on tsx
2 parents b52f227 + 8f22819 commit 00c1dce

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

fnl/oxocarbon/init.fnl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@
488488
(custom-set-face! "@tag" [] {:fg oxocarbon.base09 :bg oxocarbon.none})
489489
(custom-set-face! "@tag.attribute" [] {:fg oxocarbon.base15 :bg oxocarbon.none})
490490
(custom-set-face! "@tag.delimiter" [] {:fg oxocarbon.base15 :bg oxocarbon.none})
491+
(custom-set-face! "@tag.builtin.tsx" [] {:link "@tag.tsx"})
491492

492493
;;; Conceal
493494
;; @conceal

lua/oxocarbon/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ vim.api.nvim_set_hl(0, "@text.uri", {fg = oxocarbon.base14, bg = oxocarbon.none,
264264
vim.api.nvim_set_hl(0, "@tag", {fg = oxocarbon.base09, bg = oxocarbon.none})
265265
vim.api.nvim_set_hl(0, "@tag.attribute", {fg = oxocarbon.base15, bg = oxocarbon.none})
266266
vim.api.nvim_set_hl(0, "@tag.delimiter", {fg = oxocarbon.base15, bg = oxocarbon.none})
267+
vim.api.nvim_set_hl(0, "@tag.builtin.tsx", {link = "@tag.tsx"})
267268
vim.api.nvim_set_hl(0, "@reference", {fg = oxocarbon.base04, bg = oxocarbon.none})
268269
vim.api.nvim_set_hl(0, "NvimInternalError", {fg = oxocarbon.base00, bg = oxocarbon.base08})
269270
vim.api.nvim_set_hl(0, "NormalFloat", {fg = oxocarbon.base05, bg = oxocarbon.blend})

0 commit comments

Comments
 (0)