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