.config/nvim/lua/kamu/plugins/treesitter.lua aktualisiert
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user