40 lines
555 B
Lua
40 lines
555 B
Lua
local status, ts = pcall(require, 'nvim-treesitter.configs')
|
|
if (not status) then return end
|
|
|
|
ts.setup {
|
|
ensure_installed = {
|
|
'dockerfile',
|
|
'lua',
|
|
'vim',
|
|
'bash',
|
|
'javascript',
|
|
'typescript',
|
|
'tsx',
|
|
'json',
|
|
'html',
|
|
'pug',
|
|
'vue',
|
|
'css',
|
|
'scss',
|
|
'python',
|
|
'regex',
|
|
'markdown',
|
|
'yaml',
|
|
'astro',
|
|
'cmake'
|
|
},
|
|
ignore_install = {},
|
|
modules = {},
|
|
sync_install = false,
|
|
auto_install = true,
|
|
autotag = { enable = true },
|
|
highlight = {
|
|
enable = true,
|
|
disable = {},
|
|
},
|
|
indent = {
|
|
enable = true,
|
|
disable = {}
|
|
}
|
|
}
|