neovim/runtime/lua/vim/treesitter
Christian Clason 26b5405d18
fix(treesitter): enforce lowercase language names (#28546)
* fix(treesitter): enforce lowercase language names

Problem: On case-insensitive file systems (e.g., macOS), `has_parser`
will return `true` for uppercase aliases, which will then try to inject
the uppercase language unsuccessfully.

Solution: Enforce and assume parser names to be lowercase when
resolving language names.
2024-04-28 16:27:47 +02:00
..
_fold.lua fix(treesitter.foldexpr): check for all insert submodes 2024-04-26 15:07:10 +01:00
_meta.lua refactor(treesitter): language loading 2024-04-21 14:09:27 +01:00
_query_linter.lua refactor(treesitter): redesign query iterating 2024-03-19 14:24:59 +00:00
_range.lua feat(treesitter)!: incremental injection parsing 2023-08-12 16:11:36 +01:00
dev.lua docs: improve/add documentation of Lua types 2024-03-01 23:02:18 +00:00
health.lua refactor: create function for deferred loading 2024-02-03 16:53:41 +01:00
highlighter.lua fix(treesitter): return correct match table in iter_captures() 2024-03-27 10:39:46 +00:00
language.lua fix(treesitter): enforce lowercase language names (#28546) 2024-04-28 16:27:47 +02:00
languagetree.lua fix(treesitter): enforce lowercase language names (#28546) 2024-04-28 16:27:47 +02:00
query.lua fix(treesitter): return correct match table in iter_captures() 2024-03-27 10:39:46 +00:00