mirror of
https://github.com/pnx/dotfiles
synced 2026-08-17 09:08:13 +02:00
nvim/lua/user/plugins/editor/treesitter.lua: switch to tree-sitter-manager
This commit is contained in:
parent
665fb375b0
commit
e4b7184d75
19 changed files with 88 additions and 140 deletions
22
nvim/lua/user/utils/lang_spec.lua
Normal file
22
nvim/lua/user/utils/lang_spec.lua
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
local M = {}
|
||||
|
||||
M.treesitter = function (...)
|
||||
return {
|
||||
"romus204/tree-sitter-manager.nvim",
|
||||
opts = {
|
||||
ensure_installed = {...},
|
||||
}
|
||||
}
|
||||
end
|
||||
|
||||
M.treesitter_alias = function (value)
|
||||
return {
|
||||
"romus204/tree-sitter-manager.nvim",
|
||||
opts = {
|
||||
alias = value,
|
||||
}
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue