Declaratively list all the treesitter parsers I use

This commit is contained in:
2025-05-03 19:56:10 +03:00
parent 0f8314f4c1
commit cf405980ff
2 changed files with 38 additions and 4 deletions

View File

@@ -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,
},
},
},

View File

@@ -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 = {