generated from AstroNvim/template
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
When indenting text by 4 spaces (or more) in a markdown file, the text is changed to a different color.
This indented color masks any other color that my have been previously applied.
When a fenced code-block is indented, the syntax highlighting of its language is overridden by that of the single indented code color.
Is there a way to disable highlighting when text is indented by 4 or more blank characters?
Investigating
:help treesitter
indented_code_blocks
seems to be the treesitter name for the lines of text indented by 4 spaces.
Two possible approaches
- after/queries/markdown/highlights.scm
- Through vim.treesitter.query.set().
Treesitter markdown queries
References
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers
Type
Projects
Status
Options