nvim-config/lua/configs/treesitter.lua

11 lines
252 B
Lua
Raw Normal View History

2024-03-20 00:47:26 +00:00
local function config()
local treesitter_configs = require('nvim-treesitter.configs')
treesitter_configs.setup({
highlight = { enable = true, disable = {} },
indent = { enable = true, disable = { 'html', 'typescript' } },
})
end
return config