Closed p00f closed 4 years ago
(the highlighting is also weird in the same screenshot, do I create another issue?)
(the highlighting is also weird in the same screenshot, do I create another issue?)
No need, after I fix the parsing errors the highlighting should be fixed as well. If there is still some wonky highlighting after the fix, then we'll split it off to a new issue
So far I've fixed the issue with the identifiers in the table, but for the unicode character being used with the symbol on line 22 I'm going to have to write an external scanner since that can't be covered with regex. I'm actually kinda surprised that that's valid in the first place lol.
@p00f Reinstall the parser and things should be fixed
updating completely broke it lol
:TSPlaygroundToggle
opens an empty buffer
Opening a terminal using :Tnew
(https://github.com/kassio/neoterm) gives
Error detected while processing CursorHold Autocommands for "<buffer=9>":
E5108: Error executing lua Failed to load parser: uv_dlopen: /home/p00f/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/fennel.so: undefined symbol: tree_sitter_fennel_external_scanner_create
Ah okay I have a pr in nvim-treesitter for that https://github.com/nvim-treesitter/nvim-treesitter/pull/375. Until it gets merged in order to have the latest version you need to compile it yourself by cloning this repo and running make
, then copying the fennel.so
to your installation of nvim-treesitter manually.
Fixed, thanks
In this fennel file, nvim-treesitter's playground shows errors in the following places 1)
}}
on line 2 2){:*
on line 18 3) the first:
on line 18 4)})
on line 20 5):✖)
on line 22 6):✖
on line 22 see this screenshot https://imgur.com/3o1Te23