.config/nvim/lua/kamu/plugins/treesitter.lua aktualisiert

This commit is contained in:
2023-12-22 02:17:44 +01:00
parent 056f6ef828
commit 6c01a05b8b

View File

@@ -1,33 +1,34 @@
return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function ()
local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = {
"c",
"cpp",
"bash",
"lua",
"vim",
"vimdoc",
"json",
"python",
"yaml",
"markdown",
"make",
"query",
"javascript",
"dockerfile",
"html",
"latex",
"css",
"scss",
},
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
})
end,
}
return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function ()
local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = {
"c",
"cpp",
"bash",
"lua",
"vim",
"vimdoc",
"json",
"python",
"yaml",
"markdown",
"make",
"query",
"javascript",
"dockerfile",
"html",
"latex",
"css",
"scss",
},
sync_install = false,
highlight = { enable = true },
auto_install = true, -- automatically install syntax support when entering new file type buffer
indent = { enable = true },
})
end,
}