current nvim-config
This commit is contained in:
15
lua/plugins/treesitter.lua
Normal file
15
lua/plugins/treesitter.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
branch = 'master',
|
||||
lazy = false,
|
||||
build = ":TSUpdate",
|
||||
config= function()
|
||||
--TREESITTER
|
||||
local config = require("nvim-treesitter.configs")
|
||||
config.setup({
|
||||
ensure_installed ={"lua", "c", "python", "cpp", "typescript", "javascript", "html", "json5"},
|
||||
highlight ={enable=true},
|
||||
indent ={ disable=true },
|
||||
})
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user