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