update
This commit is contained in:
parent
f5daf0ad68
commit
0e500b7d8f
29 changed files with 687 additions and 694 deletions
32
lua/hsta/plugins/treesitter.lua
Normal file
32
lua/hsta/plugins/treesitter.lua
Normal file
|
@ -0,0 +1,32 @@
|
|||
return {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
config = function()
|
||||
local configs = require("nvim-treesitter.configs")
|
||||
|
||||
configs.setup({
|
||||
ensure_installed = {
|
||||
"lua",
|
||||
"vim",
|
||||
"vimdoc",
|
||||
"markdown",
|
||||
"json",
|
||||
"javascript",
|
||||
"html",
|
||||
"c",
|
||||
"cpp",
|
||||
"hlsl",
|
||||
"jsdoc",
|
||||
"rust",
|
||||
"python",
|
||||
"bash",
|
||||
"zig",
|
||||
},
|
||||
sync_install = false,
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue