just use all treesitter modules

This commit is contained in:
Oliver Hartmann 2022-07-01 13:56:35 +02:00
parent 49bb25aec6
commit ad480c4d35

View File

@ -1,39 +1,8 @@
local parser = require('nvim-treesitter.parsers').filetype_to_parsername
parser.groovy = 'java' -- the someft filetype will use the python parser and queries.
require('nvim-treesitter.configs').setup({
ensure_installed = {
'bash',
'bibtex',
'c',
'cmake',
'comment',
'cpp',
'css',
'dockerfile',
'help',
'hjson',
'html',
'http',
'java',
'javascript',
'jsdoc',
'json',
'json5',
'latex',
'llvm',
'lua',
'make',
'markdown',
'ninja',
'perl',
'php',
'proto',
'python',
'r',
'regex',
'rust',
'toml',
'vim',
'yaml',
},
ensure_installed = all,
highlight = {
enable = true
},