Install treesitter parsers upon entering buffer
This commit is contained in:
@@ -17,64 +17,7 @@
|
||||
-- https://github.com/nvim-treesitter/nvim-treesitter
|
||||
|
||||
require("nvim-treesitter.configs").setup({
|
||||
ensure_installed = {
|
||||
"bash",
|
||||
"c",
|
||||
"cmake",
|
||||
"comment",
|
||||
"cpp",
|
||||
"css",
|
||||
"csv",
|
||||
-- "d", -- requires treesitter cli?
|
||||
"diff",
|
||||
"dockerfile",
|
||||
"doxygen",
|
||||
"dtd",
|
||||
"git_config",
|
||||
"git_rebase",
|
||||
"gitattributes",
|
||||
"gitcommit",
|
||||
"gitignore",
|
||||
"groovy",
|
||||
"hare",
|
||||
"html",
|
||||
"ini",
|
||||
"java",
|
||||
"javascript",
|
||||
"json",
|
||||
"json5",
|
||||
"jsonc",
|
||||
"latex",
|
||||
"lua",
|
||||
"luadoc",
|
||||
"luap",
|
||||
"make",
|
||||
"markdown",
|
||||
"markdown_inline",
|
||||
"meson",
|
||||
"ninja",
|
||||
"norg",
|
||||
"odin",
|
||||
"perl",
|
||||
"php",
|
||||
"phpdoc",
|
||||
"pymanifest",
|
||||
"python",
|
||||
"regex",
|
||||
"requirements",
|
||||
"robot",
|
||||
"rst",
|
||||
"rust",
|
||||
"sql",
|
||||
"toml",
|
||||
"typescript",
|
||||
"vim",
|
||||
"vimdoc",
|
||||
"xml",
|
||||
"yaml",
|
||||
"yang",
|
||||
"zig",
|
||||
},
|
||||
auto_install = true,
|
||||
|
||||
highlight = {
|
||||
enable = true,
|
||||
|
||||
Reference in New Issue
Block a user