mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
feat(api): expose list of available and installed languages
This commit is contained in:
parent
0860b9b107
commit
ce903fde5d
8 changed files with 36 additions and 13 deletions
|
|
@ -21,7 +21,7 @@ local function complete_installed_parsers(arglead)
|
|||
function(v)
|
||||
return v:find(arglead) ~= nil
|
||||
end,
|
||||
require('nvim-treesitter.config').installed_languages()
|
||||
require('nvim-treesitter.config').get_installed()
|
||||
)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue