Skip to content

Commit

Permalink
fix: add missing TS fallbacks for md headings
Browse files Browse the repository at this point in the history
not entirely sure how this came about, was working fine in fe3638a. This should support both permutations in TS.
  • Loading branch information
scottmckendry committed Feb 14, 2024
1 parent 270bf5a commit 3acf4fa
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions lua/cyberdream/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,26 @@ M.defaults = {
default = true,
link = "markdownH5",
},
["@markup.heading.1"] = {
default = true,
link = "markdownH1",
},
["@markup.heading.2"] = {
default = true,
link = "markdownH2",
},
["@markup.heading.3"] = {
default = true,
link = "markdownH3",
},
["@markup.heading.4"] = {
default = true,
link = "markdownH4",
},
["@markup.heading.5"] = {
default = true,
link = "markdownH5",
},
["@text.underline"] = {
underline = true,
},
Expand Down

0 comments on commit 3acf4fa

Please sign in to comment.