init
This commit is contained in:
parent
c3d1fb646a
commit
67d9542ca5
22 changed files with 611 additions and 221 deletions
28
lua/plugins/treesitter.lua
Normal file
28
lua/plugins/treesitter.lua
Normal file
|
@ -0,0 +1,28 @@
|
|||
return {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
config = function()
|
||||
local configs = require "nvim-treesitter.configs"
|
||||
|
||||
configs.setup {
|
||||
ensure_installed = {
|
||||
"c",
|
||||
"lua",
|
||||
"vim",
|
||||
"vimdoc",
|
||||
"query",
|
||||
"markdown",
|
||||
"json",
|
||||
"javascript",
|
||||
"cpp",
|
||||
"hlsl",
|
||||
"jsdoc",
|
||||
},
|
||||
sync_install = false,
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
}
|
||||
end,
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue