diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-09-04 17:58:33 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2022-09-06 07:57:46 +0200 |
commit | 97f38f0a9bbae4969f672746a62caa6cba136b45 (patch) | |
tree | febc4ff84233816863be27ab6229a0c43fc526bd /test/functional/treesitter/highlight_spec.lua | |
parent | 64cc78c9f39b3066b74f01ec7e3f50fd316416e4 (diff) | |
download | rneovim-97f38f0a9bbae4969f672746a62caa6cba136b45.tar.gz rneovim-97f38f0a9bbae4969f672746a62caa6cba136b45.tar.bz2 rneovim-97f38f0a9bbae4969f672746a62caa6cba136b45.zip |
fix(treesitter): do not link @error by default
The @error capture is used for tree-sitter's ERROR node, which indicates
a parsing error -- which can be quite frequent (and jarring) while typing.
Users can still manually `hi link @error Error` in their config.
Diffstat (limited to 'test/functional/treesitter/highlight_spec.lua')
-rw-r--r-- | test/functional/treesitter/highlight_spec.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/treesitter/highlight_spec.lua b/test/functional/treesitter/highlight_spec.lua index 5e38a8c2df..d557b2c012 100644 --- a/test/functional/treesitter/highlight_spec.lua +++ b/test/functional/treesitter/highlight_spec.lua @@ -106,6 +106,7 @@ describe('treesitter highlighting', function() } exec_lua([[ hl_query = ... ]], hl_query) + command [[ hi link @error ErrorMsg ]] command [[ hi link @warning WarningMsg ]] end) |