Initial commit
This commit is contained in:
commit
35aaf58a92
14 changed files with 314 additions and 0 deletions
18
lua/plugins/treesitter.lua
Normal file
18
lua/plugins/treesitter.lua
Normal file
|
@ -0,0 +1,18 @@
|
|||
return {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
config = function()
|
||||
local config = require("nvim-treesitter.configs")
|
||||
config.setup({
|
||||
ensure_installed = { "lua", "javascript", "typescript", "tsx" },
|
||||
sync_install = false,
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true }
|
||||
})
|
||||
end
|
||||
},
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter-context"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue