----------------------------------------------------------- -- Treesitter configuration file ---------------------------------------------------------- -- Plugin: nvim-treesitter -- url: https://github.com/nvim-treesitter/nvim-treesitter local status_ok, nvim_treesitter = pcall(require, 'nvim-treesitter.configs') if not status_ok then return end -- See: https://github.com/nvim-treesitter/nvim-treesitter#quickstart nvim_treesitter.setup { -- A list of parser names, or "all" ensure_installed = { 'bash', 'css', 'html', 'javascript', 'json', 'lua', 'python', 'vim', 'yaml', 'typescript', }, sync_install = true, highlight = { -- `false` will disable the whole extension enable = true, additional_vim_regex_highlighting = true, }, }