mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 01:40:02 -04:00
fix ts_available_modules should be using nvim_treesitter#available_modules
This commit is contained in:
parent
9ef264a733
commit
9e22864d03
1 changed files with 2 additions and 2 deletions
|
|
@ -265,14 +265,14 @@ M.commands = {
|
||||||
run = enable_all,
|
run = enable_all,
|
||||||
args = {
|
args = {
|
||||||
"-nargs=+",
|
"-nargs=+",
|
||||||
"-complete=customlist,v:lua.ts_available_modules",
|
"-complete=customlist,nvim_treesitter#available_modules",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
TSDisableAll = {
|
TSDisableAll = {
|
||||||
run = disable_all,
|
run = disable_all,
|
||||||
args = {
|
args = {
|
||||||
"-nargs=+",
|
"-nargs=+",
|
||||||
"-complete=customlist,v:lua.ts_available_modules",
|
"-complete=customlist,nvim_treesitter#available_modules",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue