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
Is Vim 8 supported?
No. Semshi relies on Neovim's fast highlighting API to quickly update lots of highlights. Regular Vim unfortunately doesn't have an equivalent API. (If you think this can be implemented for Vim 8, let me know.)
You could use text properties in Vim probably.
Pseudo / Python code (from my WIP for jedi-vim using it to highlight usages):
Ah, thanks, that sounds helpful! I'm going to look into that.
As for Neovim there are nice changes planned using tree-sitter for 0.5. Are you aware of them?
I saw it come up a few times on the issue tracker - is there a current ticket/PR?
In theory, being able to take advantage of tree-sitter's incremental parsing would be a huge upgrade. However, Semshi doesn't just parse the syntax, but also determines scopes, etc. That is, Semshi also needs symbol lookup logic, whereas tree-sitter AFAIK only provides grammar parsing. Updating symbol tables incrementally seems like a challenge on its own.
You could use text properties in Vim probably.
Pseudo / Python code (from my WIP for jedi-vim using it to highlight usages):
JFI.
As for Neovim there are nice changes planned using tree-sitter for 0.5. Are you aware of them?
The text was updated successfully, but these errors were encountered: