Skip to content

Commit 7b93f1b

Browse files
A-Lamiamehalter
authored andcommitted
feat(tree-sitter): add markdown titles
1 parent 3d2aa78 commit 7b93f1b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lua/astrotheme/groups/plugins/nvim-treesitter.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ local function callback()
9696

9797
["@text.todo"] = { fg = C.base, bg = C.yellow },
9898
["@text.note"] = { fg = C.base, bg = C.blue },
99+
["@text.title.1.markdown"] = { fg = C.syntax.text, bold = true },
100+
["@text.title.2.markdown"] = { fg = C.syntax.purple, bold = true },
101+
["@text.title.3.markdown"] = { fg = C.syntax.blue, bold = true },
102+
["@text.title.4.markdown"] = { fg = C.syntax.cyan, bold = true },
103+
["@text.title.5.markdown"] = { fg = C.syntax.green, bold = true },
99104
["@text.todo.note"] = { link = "@text.note" },
100105
["@text.warning"] = { fg = C.base, bg = C.yellow },
101106
["@text.todo.warning"] = { link = "@text.warning" },

0 commit comments

Comments
 (0)