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
When editing Haskell, Treesitter throws invalid node errors whenever the cursor moves over a delimiter.
Error detected while processing CursorMoved Autocommands for "*"..function 3[3]..4[71]..matchup#delim#get_current[1]..<SNR>75_get_delim_multi[3]..<SNR>75_get_delim[166]..matchup#delim#skip[13
]..matchup#ts_syntax#skip_expr[1]..matchup#ts_syntax#lang_skip[1]..<SNR>76_forward:
line 1:
E5108: Error executing lua ...im/0.9.5/share/nvim/runtime/lua/vim/treesitter/query.lua:259: query: invalid node type at position 180 for language haskell
stack traceback:
[C]: in function '_ts_parse_query'
...im/0.9.5/share/nvim/runtime/lua/vim/treesitter/query.lua:259: in function 'get_query'
...vim-matchup/lua/treesitter-matchup/third-party/query.lua:55: in function 'get_query'
...vim-matchup/lua/treesitter-matchup/third-party/query.lua:142: in function 'prepare_query'
...vim-matchup/lua/treesitter-matchup/third-party/query.lua:339: in function 'iter_group_results'
...vim-matchup/lua/treesitter-matchup/third-party/query.lua:351: in function 'collect_group_results'
...vim-matchup/lua/treesitter-matchup/third-party/query.lua:23: in function 'update_cached_matches'
...vim-matchup/lua/treesitter-matchup/third-party/query.lua:31: in function 'get_matches'
.../nvim/lazy/vim-matchup/lua/treesitter-matchup/syntax.lua:26: in function 'get_skips'
.../nvim/lazy/vim-matchup/lua/treesitter-matchup/syntax.lua:60: in function 'lang_skip'
[string "luaeval()"]:1: in main chunk
Press ENTER or type command to continue
Most issues are related to bugs or problems. In these cases, you should
include a minimal working example and a minimal vimrc file (see below), as
well as:
What vim version are you using? If using neovim, Are you using
tree-sitter or classic matching?
Steps to reproduce
Edit a Haskell file and, while in normal or insert mode, move the cursor over a parenthesis.
Expected behavior
No errors :p.
Observed behavior
Errors thrown.
If your issue is instead a feature request or anything else, please
consider if minimal examples and vimrc files might still be relevant.
Minimal working example
Please provide a minimal working example, e.g.,
moduleSomethingwheredoge::Soge (ParenthesisHere)
doge ="move ^ your cursor ^ over these"
Minimal vimrc file
(No configuration done)
setnocompatible" load match-uplet &rtp='~/.vim/bundle/vim-matchup,' . &rtplet &rtp.=',~/.vim/bundle/vim-matchup/after'" load other plugins, if necessary" let &rtp = '~/path/to/other/plugin,' . &rtpfiletypepluginindentonsyntaxenable" match-up options go here
The text was updated successfully, but these errors were encountered:
Explain the issue
When editing Haskell, Treesitter throws invalid node errors whenever the cursor moves over a delimiter.
Most issues are related to bugs or problems. In these cases, you should
include a minimal working example and a minimal vimrc file (see below), as
well as:
tree-sitter or classic matching?
Steps to reproduce
Edit a Haskell file and, while in normal or insert mode, move the cursor over a parenthesis.
Expected behavior
No errors :p.
Observed behavior
Errors thrown.
If your issue is instead a feature request or anything else, please
consider if minimal examples and vimrc files might still be relevant.
Minimal working example
Please provide a minimal working example, e.g.,
Minimal vimrc file
(No configuration done)
The text was updated successfully, but these errors were encountered: