Add languages to treesiter
This commit is contained in:
parent
213a1a61e4
commit
b16fb0e183
29
init.lua
29
init.lua
|
|
@ -964,7 +964,34 @@ require('lazy').setup({
|
||||||
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
|
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
|
||||||
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
||||||
opts = {
|
opts = {
|
||||||
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' },
|
ensure_installed = {
|
||||||
|
'lua',
|
||||||
|
'python',
|
||||||
|
'javascript',
|
||||||
|
'typescript',
|
||||||
|
'vimdoc',
|
||||||
|
'vim',
|
||||||
|
'regex',
|
||||||
|
'terraform',
|
||||||
|
'sql',
|
||||||
|
'dockerfile',
|
||||||
|
'toml',
|
||||||
|
'json',
|
||||||
|
'java',
|
||||||
|
'groovy',
|
||||||
|
'go',
|
||||||
|
'gitignore',
|
||||||
|
'graphql',
|
||||||
|
'yaml',
|
||||||
|
'make',
|
||||||
|
'cmake',
|
||||||
|
'markdown',
|
||||||
|
'markdown_inline',
|
||||||
|
'bash',
|
||||||
|
'tsx',
|
||||||
|
'css',
|
||||||
|
'html',
|
||||||
|
},
|
||||||
-- Autoinstall languages that are not installed
|
-- Autoinstall languages that are not installed
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
highlight = {
|
highlight = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue