Add treesitter and go plugin
This commit is contained in:
13
lua/plugins/treesitter.lua
Normal file
13
lua/plugins/treesitter.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
config = function()
|
||||
local configs = require("nvim-treesitter.configs")
|
||||
|
||||
configs.setup({
|
||||
ensure_installed = { "c", "lua", "vimdoc", "go", "typescript" },
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true }
|
||||
})
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user