Declaratively list all the treesitter parsers I use
This commit is contained in:
@@ -5,9 +5,14 @@ return {
|
||||
filetypes = { 'yaml', 'yaml.docker-compose', 'yaml.gitlab' },
|
||||
root_markers = { '.git' },
|
||||
settings = {
|
||||
redhat = {
|
||||
telemetry = {
|
||||
enabled = false,
|
||||
redhat = { telemetry = { enabled = false } },
|
||||
},
|
||||
-- Have to add this for yamlls to understand that we support line folding
|
||||
capabilities = {
|
||||
textDocument = {
|
||||
foldingRange = {
|
||||
dynamicRegistration = false,
|
||||
lineFoldingOnly = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -13,7 +13,6 @@ return {
|
||||
opts = {
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
auto_install = true,
|
||||
rainbow = {
|
||||
enable = true,
|
||||
extended_mode = true,
|
||||
@@ -21,23 +20,52 @@ return {
|
||||
},
|
||||
|
||||
ensure_installed = {
|
||||
'asm',
|
||||
'astro',
|
||||
'bash',
|
||||
'c',
|
||||
'cpp',
|
||||
'css',
|
||||
'csv',
|
||||
'diff',
|
||||
'desktop',
|
||||
'git_config',
|
||||
'git_rebase',
|
||||
'gitattributes',
|
||||
'gitcommit',
|
||||
'gitignore',
|
||||
'go',
|
||||
'gomod',
|
||||
'gosum',
|
||||
'gowork',
|
||||
'groovy',
|
||||
'html',
|
||||
'ini',
|
||||
'java',
|
||||
'javascript',
|
||||
'jsdoc',
|
||||
'json',
|
||||
'jsonc',
|
||||
'latex',
|
||||
'linkerscript',
|
||||
'lua',
|
||||
'luadoc',
|
||||
'luap',
|
||||
'make',
|
||||
'markdown',
|
||||
'markdown_inline',
|
||||
'mermaid',
|
||||
'nix',
|
||||
'pem',
|
||||
'printf',
|
||||
'python',
|
||||
'query',
|
||||
'regex',
|
||||
'rust',
|
||||
'scheme',
|
||||
'sql',
|
||||
'ssh_config',
|
||||
'tmux',
|
||||
'toml',
|
||||
'tsx',
|
||||
'typescript',
|
||||
@@ -45,6 +73,7 @@ return {
|
||||
'vimdoc',
|
||||
'xml',
|
||||
'yaml',
|
||||
'zig',
|
||||
},
|
||||
|
||||
incremental_selection = {
|
||||
|
||||
Reference in New Issue
Block a user