diff options
author | Thomas Vigouroux <thomas.vigouroux@protonmail.com> | 2022-09-08 09:47:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-08 09:47:36 +0200 |
commit | 0405594399741babd6d935d581eac2584b289f92 (patch) | |
tree | 1674903646629ea005add0492765d691610b8456 /runtime/lua/vim/lsp/buf.lua | |
parent | 36faac6241ca74f2c5e7e067b3c382830cfdaf06 (diff) | |
download | rneovim-0405594399741babd6d935d581eac2584b289f92.tar.gz rneovim-0405594399741babd6d935d581eac2584b289f92.tar.bz2 rneovim-0405594399741babd6d935d581eac2584b289f92.zip |
feat(treesitter)!: do not merge queries by default (#20105)
Problem: Treesitter queries for a given language in runtime were merged together,
leading to errors if they targeted different parser versions (e.g., bundled viml queries
and those shipped by nvim-treesitter).
Solution: Runtime queries now work as follows:
* The last query in the rtp without `; extends` in the header will be used as the base query
* All queries (without a specific order) with `; extends` are concatenated with the base query
BREAKING CHANGE: queries need to be updated if they are meant to extend other queries
Diffstat (limited to 'runtime/lua/vim/lsp/buf.lua')
0 files changed, 0 insertions, 0 deletions