mirror of
https://github.com/itme-brain/nvim.git
synced 2026-05-08 15:10:13 -04:00
feat(treesitter): use community fork provisioner
This commit is contained in:
parent
34c52305af
commit
ef4972deb9
5 changed files with 152 additions and 32 deletions
52
lua/config/treesitter_languages.lua
Normal file
52
lua/config/treesitter_languages.lua
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
local M = {}
|
||||
|
||||
M.install_parsers = {
|
||||
"bash",
|
||||
"cpp",
|
||||
"css",
|
||||
"git_config",
|
||||
"git_rebase",
|
||||
"gitattributes",
|
||||
"gitcommit",
|
||||
"gitignore",
|
||||
"html",
|
||||
"javascript",
|
||||
"json",
|
||||
"nix",
|
||||
"python",
|
||||
"rust",
|
||||
"toml",
|
||||
"yaml",
|
||||
}
|
||||
|
||||
M.filetypes = {
|
||||
"lua",
|
||||
"c",
|
||||
"cpp",
|
||||
"python",
|
||||
"nix",
|
||||
"rust",
|
||||
"bash",
|
||||
"markdown",
|
||||
"html",
|
||||
"javascript",
|
||||
"javascriptreact",
|
||||
"css",
|
||||
"json",
|
||||
"toml",
|
||||
"yaml",
|
||||
"vim",
|
||||
"gitconfig",
|
||||
"gitrebase",
|
||||
"gitattributes",
|
||||
"gitcommit",
|
||||
"gitignore",
|
||||
}
|
||||
|
||||
M.language_by_filetype = {
|
||||
gitconfig = "git_config",
|
||||
gitrebase = "git_rebase",
|
||||
javascriptreact = "javascript",
|
||||
}
|
||||
|
||||
return M
|
||||
Loading…
Add table
Add a link
Reference in a new issue