You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I just installed treesitter with makrdown and markdown_inline as parsers.
Now I wonder if there is a way to make syntax highlighting highlight the two <space> at the end of the line?
It is good to have it highlighted since markdown uses double space as 'end of line' and without it markdown continue the line even if you have a linebreak in the editor.
Has anyone got it to wrok?
I have done :TSUpdate and :checkhealth nvim-treesitter
nvim-treesitter: require("nvim-treesitter.health").check()
========================================================================
## Installation
- OK: `tree-sitter` found 0.20.7 (parser generator, only needed for :TSInstallFromGrammar)
- OK: `node` found v19.6.0 (only needed for :TSInstallFromGrammar)
- OK: `git` executable found.
- OK: `cc` executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
Version: cc (GCC) 12.2.1 20230201
- OK: Neovim was compiled with tree-sitter runtime ABI version 14 (required >=13). Parsers must be compatible with runtime ABI.
## OS Info:
{
machine = "x86_64",
release = "6.1.19-1-MANJARO",
sysname = "Linux",
version = "#1 SMP PREEMPT_DYNAMIC Mon Mar 13 12:59:35 UTC 2023"
}
## Parser/Features H L F I J
- c ✓ ✓ ✓ ✓ ✓
- help ✓ . . . ✓
- lua ✓ ✓ ✓ ✓ ✓
- markdown ✓ . ✓ . ✓
- markdown_inline ✓ . . . ✓
- query ✓ ✓ ✓ ✓ ✓
- vim ✓ ✓ ✓ . ✓
Legend: H[ighlight], L[ocals], F[olds], I[ndents], In[j]ections
+) multiple parsers found, only one will be used
x) errors found in the query, try to run :TSUpdate {lang}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I just installed treesitter with makrdown and markdown_inline as parsers.
Now I wonder if there is a way to make syntax highlighting highlight the two <space> at the end of the line?
It is good to have it highlighted since markdown uses double space as 'end of line' and without it markdown continue the line even if you have a linebreak in the editor.
Has anyone got it to wrok?
I have done :TSUpdate and :checkhealth nvim-treesitter
Beta Was this translation helpful? Give feedback.
All reactions