Stephan Seitz

Results 462 comments of Stephan Seitz

Are you sure you compiled the parsers for the correct architecture and for Windows? ERROR_BAD_EXE_FORMAT might be caused by GCC binaries. Did you have a look in our wiki and...

nvim-qt.exe should not be a problem since it communicates via RPC with nvim. You should compile for the same architecture as your nvim. Other users reported problems with GCC. Maybe...

Check also the nvim-treesitter/parser folder. Neovim will open any file as executable in his folder even though bit might be only a text file

WinError 193] %1 is not a valid Win32 application We had this error before (See Windows wiki). I can't tell you why some Windows configurations don't accept some parsers output....

@geofflangenderfer please make sure that you're compiling for arm64. This might require tuning the compiler invokation in https://github.com/nvim-treesitter/nvim-treesitter/blob/fa2a6b68aaa6df0187b5bbebe6cbadc120d4a65a/lua/nvim-treesitter/shell_command_selectors.lua#L80 though most m1 users reported that it would compile for their native...

Can you try to add `-march=native` as an additional argument to the C compiler (though it should already be compiling for arm64 on a M1). Could you please happen a...

You would need some tree-sitter pairs implementation like theHamsta/nvim-treesitter-pairs if you don't want to use regexes. Nvim-treesitter-pairs is however not implemented in the most performant way at the moment, but...

I don't know why we can't capture `escape_literal` anymore: https://github.com/tree-sitter/tree-sitter-go/blob/372d3241b099e189406475a9445cbb29dac2e054/grammar.js#L842 but this should be fixed https://github.com/fsouza/nvim-treesitter/blob/7bdee273486f80c5ddce4d9600d1ed5e506b704d/queries/go/highlights.scm#L189

Just have a look how it is implemented in grammar.js in tree-sitter-c and do the same in tree-sitter-go. The rule for parsing strings should be more less the same in...