feat: add markdown headers for treesitter

This commit is contained in:
vpatuta 2023-11-07 09:12:57 +01:00
parent 62b4ce7a9e
commit b2ffaa2cb3
1 changed files with 14 additions and 0 deletions

View File

@ -293,6 +293,18 @@ M.setup = function()
['@storageclass'] = { link = 'StorageClass' },
['@variable.builtin'] = { fg = c.wisteria },
['@variable'] = { fg = c.bg6 },
['@text.title.1.marker.markdown'] = { link = 'markdownH1' },
['@text.title.2.marker.markdown'] = { link = 'markdownH2' },
['@text.title.3.marker.markdown'] = { link = 'markdownH3' },
['@text.title.4.marker.markdown'] = { link = 'markdownH4' },
['@text.title.5.marker.markdown'] = { link = 'markdownH5' },
['@text.title.6.marker.markdown'] = { link = 'markdownH6' },
['@text.title.1.markdown'] = { link = 'markdownH1' },
['@text.title.2.markdown'] = { link = 'markdownH2' },
['@text.title.3.markdown'] = { link = 'markdownH3' },
['@text.title.4.markdown'] = { link = 'markdownH4' },
['@text.title.5.markdown'] = { link = 'markdownH5' },
['@text.title.6.markdown'] = { link = 'markdownH6' },
['@text.title'] = { link = 'Title' },
['@text.uri'] = { link = 'Underlined' },
['@text.todo'] = { link = 'Todo' },
@ -520,6 +532,8 @@ M.setup = function()
HopNextKey1 = { fg = c.light_blue },
HopNextKey2 = { fg = c.wisteria1 },
HopUnmatched = { fg = c.bg5 },
BufferManagerModified = { fg = c.yellow },
}
--[[ for group, hl in pairs(config.overrides) do