mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
23 lines
452 B
Lua
23 lines
452 B
Lua
local M = {}
|
|
|
|
function M.setup(...)
|
|
require('nvim-treesitter.config').setup(...)
|
|
end
|
|
|
|
function M.install(...)
|
|
return require('nvim-treesitter.install').install(...)
|
|
end
|
|
|
|
function M.uninstall(...)
|
|
return require('nvim-treesitter.install').uninstall(...)
|
|
end
|
|
|
|
function M.update(...)
|
|
return require('nvim-treesitter.install').update(...)
|
|
end
|
|
|
|
function M.indentexpr()
|
|
return require('nvim-treesitter.indent').get_indent(vim.v.lnum)
|
|
end
|
|
|
|
return M
|