Neovim configs for 2023. Hopefully they last.
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.

37 lines
794 B

2 years ago
  1. require'nvim-treesitter.configs'.setup {
  2. -- A list of parser names, or "all" (the four listed parsers should always be installed)
  3. ensure_installed = {
  4. "c",
  5. "cpp",
  6. "rust",
  7. "javascript",
  8. "typescript",
  9. "json",
  10. "html",
  11. "latex",
  12. "bash",
  13. "python",
  14. "go",
  15. "css",
  16. "bibtex",
  17. "make",
  18. "vim",
  19. "lua",
  20. "help",
  21. "markdown",
  22. "gitignore"
  23. },
  24. -- Install parsers synchronously (only applied to `ensure_installed`)
  25. sync_install = false,
  26. -- Automatically install missing parsers when entering buffer
  27. -- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally
  28. auto_install = true,
  29. highlight = {
  30. enable = true,
  31. disable = { "latex" },
  32. additional_vim_regex_highlighting = false,
  33. },
  34. }