mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 00:40:06 -04:00
Folds: rename query files to folds.scm to be consistent
We use plural names for all query files except folds.
This commit is contained in:
parent
97113abedc
commit
50991e370b
10 changed files with 3 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ local folds_levels = utils.memoize_by_buf_tick(function(bufnr)
|
|||
|
||||
local matches
|
||||
if query.has_fold(lang) then
|
||||
matches = query.get_capture_matches(bufnr, "@fold", "fold")
|
||||
matches = query.get_capture_matches(bufnr, "@fold", "folds")
|
||||
elseif query.has_locals(lang) then
|
||||
matches = query.get_capture_matches(bufnr, "@scope", "locals")
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue