33 lines
539 B
Lua
33 lines
539 B
Lua
require('nvim-treesitter.configs').setup({
|
|
ensure_installed = {
|
|
'typescript',
|
|
'javascript',
|
|
'tsx',
|
|
'html',
|
|
'css',
|
|
'bash',
|
|
'lua',
|
|
'json',
|
|
'python',
|
|
'php',
|
|
'scss',
|
|
'go',
|
|
},
|
|
highlight = {
|
|
enable = true,
|
|
use_languagetree = true,
|
|
},
|
|
indent = {
|
|
enable = true,
|
|
},
|
|
autotag = {
|
|
enable = true,
|
|
},
|
|
context_commentstring = {
|
|
enable = true,
|
|
},
|
|
refactor = {
|
|
highlight_definitions = { enable = true },
|
|
highlight_current_scope = { enable = false },
|
|
},
|
|
})
|