add a couple more treesitter langs

This commit is contained in:
Thomas Ruoff
2023-05-17 08:16:18 +02:00
parent dce3754859
commit 342050db2c

View File

@@ -238,7 +238,46 @@ vim.api.nvim_create_autocmd('TextYankPost', {
-- See `:help nvim-treesitter`
require('nvim-treesitter.configs').setup {
-- Add languages to be installed here that you want installed for treesitter
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim' },
ensure_installed = {
'bash',
'c',
'cpp',
'dockerfile',
'diff',
'git_config',
'git_rebase',
'gitattributes',
'gitcommit',
'gitignore',
'go',
'html',
'http',
'java',
'javascript',
'jq',
'jsdoc',
'json',
'json5',
'latex',
'lua',
'luadoc',
'make',
'markdown',
'markdown_inline',
'mermaid',
'norg',
'norg_meta',
'org',
'python',
'regex',
'rust',
'tsx',
'typescript',
'sql',
'vimdoc',
'vim',
'yaml',
},
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
auto_install = false,