summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authorJalil David Salamé Messina <60845989+jalil-salame@users.noreply.github.com>2025-08-14 20:47:43 +0200
committerGitHub <noreply@github.com>2025-08-14 11:47:43 -0700
commitbd45e2be634b49f17b86a42359c0218081759f48 (patch)
treefc50fe756703fd5863b7940cfca690a191e05bdf /runtime/lua/vim/provider/python.lua
parent38986188ba0f57c48065ad430706435d622911a1 (diff)
fix(checkhealth): wrong ABI version for treesitter parsers #35327
Don't print ABI version of duplicated parsers that are later in the runtime path (see [#35326]). Change the sorting from `name > path` to `name > rtpath_index`, this ensures the first (loaded) parser is first in the list and any subsequent parsers can be considered "not loaded". This is fuzzy at best since `vim.treesitter.language.add` can take a path to a parser and change the load order. The correct solution is for `vim.treesitter.language.inspect` to return the parser path so we can compare against it and/or for it to also be able to take a path to a parser so we can inspect it without loading it first.
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions