mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
17 lines
297 B
Lua
17 lines
297 B
Lua
-- TODO: remove module structure
|
|
|
|
local M = {}
|
|
|
|
function M.init()
|
|
treesitter.define_modules {
|
|
matchup = {
|
|
module_path = 'treesitter-matchup.internal',
|
|
is_supported = function(lang)
|
|
return vim.treesitter.query.get(lang, 'matchup') ~= nil
|
|
end
|
|
}
|
|
}
|
|
end
|
|
|
|
return M
|