forked from neovim/neovim
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport release-0.7] fix(treesitter): create new parser if language…
… is not the same as cached parser (neovim#18220) * fix(treesitter): create new parser if language is not the same as cached parser Fixes neovim#18148 (cherry picked from commit 8e35894) * test: create new parser in vim.treesitter.get_parser() when filetype changes (cherry picked from commit 30e7b3f) Co-authored-by: Chinmay Dalal <dalal.chinmay.0101@gmail.com>
- Loading branch information
1 parent
7f8faac
commit f7e2ad7
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters