mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
* fix(treesitter): create new parser if language is not the same as cached parser Fixes #18148 (cherry picked from commit8e35894fc2) * test: create new parser in vim.treesitter.get_parser() when filetype changes (cherry picked from commit30e7b3f0a2) Co-authored-by: Chinmay Dalal <dalal.chinmay.0101@gmail.com>