ensure installed certain treesitter parsers
This commit is contained in:
parent
6fb5a77734
commit
fbbaff5a97
@ -2,6 +2,22 @@ local function config()
|
||||
local treesitter_configs = require('nvim-treesitter.configs')
|
||||
|
||||
treesitter_configs.setup({
|
||||
ensure_installed = {
|
||||
'lua',
|
||||
'python',
|
||||
'javascript',
|
||||
'typescript',
|
||||
'tsx',
|
||||
'json',
|
||||
'yaml',
|
||||
'sql',
|
||||
'rust',
|
||||
'c',
|
||||
'cpp',
|
||||
'java',
|
||||
'make',
|
||||
'hcl', -- terraform
|
||||
},
|
||||
highlight = { enable = true, disable = {} },
|
||||
indent = { enable = true, disable = { 'html', 'typescript' } },
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user