removed maintained from treesitter
This commit is contained in:
parent
6c8531b67a
commit
4a6de72626
@ -1,5 +1,41 @@
|
||||
require('nvim-treesitter.configs').setup({
|
||||
ensure_installed = 'maintained',
|
||||
ensure_installed = {
|
||||
'bash',
|
||||
'bibtex',
|
||||
'c',
|
||||
'cmake',
|
||||
'comment',
|
||||
'cpp',
|
||||
'css',
|
||||
'dockerfile',
|
||||
'help',
|
||||
'hjson',
|
||||
'html',
|
||||
'http',
|
||||
'java',
|
||||
'javascript',
|
||||
'jsdoc',
|
||||
'json',
|
||||
'json5',
|
||||
'JSONC',
|
||||
'latex',
|
||||
'llvm',
|
||||
'lua',
|
||||
'make',
|
||||
'markdown',
|
||||
'ninja',
|
||||
'perl',
|
||||
'php',
|
||||
'proto',
|
||||
'python',
|
||||
'Tree-sitter query language',
|
||||
'r',
|
||||
'regex',
|
||||
'rust',
|
||||
'toml',
|
||||
'vim',
|
||||
'yaml',
|
||||
},
|
||||
highlight = {
|
||||
enable = true
|
||||
},
|
||||
@ -35,3 +71,8 @@ require('nvim-treesitter.configs').setup({
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
require("nvim-treesitter.install").prefer_git = true
|
||||
|
||||
-- local groovy_parser = require('nvim-treesitter.parsers').groovy
|
||||
-- groovy_parser.groovy = 'java' -- the someft filetype will use the python parser and queries.
|
||||
|
Loading…
x
Reference in New Issue
Block a user