aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/install-parsers.lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2025-05-28 13:55:33 +0200
committerChristian Clason <ch.clason+github@icloud.com>2025-05-29 11:52:58 +0200
commit0860b9b1070c4e1bcce66416844b633acd8e0d2a (patch)
treeabd825da1a791c5df714c64695db14d6fd3b6618 /scripts/install-parsers.lua
parentfix(install): only install queries for bundled parsers (diff)
downloadnvim-treesitter-0860b9b1070c4e1bcce66416844b633acd8e0d2a.tar
nvim-treesitter-0860b9b1070c4e1bcce66416844b633acd8e0d2a.tar.gz
nvim-treesitter-0860b9b1070c4e1bcce66416844b633acd8e0d2a.tar.bz2
nvim-treesitter-0860b9b1070c4e1bcce66416844b633acd8e0d2a.tar.lz
nvim-treesitter-0860b9b1070c4e1bcce66416844b633acd8e0d2a.tar.xz
nvim-treesitter-0860b9b1070c4e1bcce66416844b633acd8e0d2a.tar.zst
nvim-treesitter-0860b9b1070c4e1bcce66416844b633acd8e0d2a.zip
fix(config): check both installed parsers and queries
Problem: Can't uninstall custom parsers without queries since `installed_parsers` only iterates over installed queries (to include query-only languages, and to avoid string manipulation). Solution: Iterate over both queries and parsers to collect list of installed languages (optionally only queries or only parsers).
Diffstat (limited to 'scripts/install-parsers.lua')
0 files changed, 0 insertions, 0 deletions