just use all treesitter modules
This commit is contained in:
parent
49bb25aec6
commit
ad480c4d35
@ -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({
|
require('nvim-treesitter.configs').setup({
|
||||||
ensure_installed = {
|
ensure_installed = all,
|
||||||
'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',
|
|
||||||
},
|
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true
|
enable = true
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user