Commit 148d029
Fix markdown syntax highlighting by mapping capture names
The markdown tree-sitter grammar uses nvim-treesitter capture names
(e.g. text.title, punctuation.special) that CaptureName.fromString()
didn't recognize, causing all markdown highlights to be silently dropped.
Map these to existing CaptureName cases so no new enum values or theme
changes are needed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 1fa4d3c commit 148d029
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
95 | 107 | | |
96 | 108 | | |
97 | 109 | | |
| |||
0 commit comments