Arch 2025 rice. Also contains a newly inspired neovim config.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
997 B

2 weeks ago
2 weeks ago
  1. return { -- Highlight, edit, and navigate code
  2. 'nvim-treesitter/nvim-treesitter',
  3. build = ':TSUpdate',
  4. main = 'nvim-treesitter.configs', -- Sets main module to use for opts
  5. -- [[ Configure Treesitter ]] See `:help nvim-treesitter`
  6. opts = {
  7. ensure_installed = { "c", "cpp", "rust", "javascript", "typescript", "tsx", "json", "html", "latex", "bash", "python", "go", "css", "bibtex", "make", "vim", "lua", "markdown", "gitignore", "toml", "yaml", "nix" },
  8. -- Autoinstall languages that are not installed
  9. auto_install = true,
  10. sync_install = false,
  11. highlight = {
  12. enable = true,
  13. -- Some languages depend on vim's regex highlighting system (such as Ruby) for indent rules.
  14. -- If you are experiencing weird indenting issues, add the language to
  15. -- the list of additional_vim_regex_highlighting and disabled languages for indent.
  16. disable = { "latex", "perl", "htmldjango" },
  17. },
  18. indent = { enable = true, disable = { 'ruby' } },
  19. },
  20. }