feat: enable `auto_install` for `nvim-treesitter`

This commit is contained in:
Vikas Raj 2022-08-02 18:47:24 +05:30 committed by GitHub
parent f2dedf6e3e
commit c8281627e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -186,7 +186,8 @@ vim.keymap.set('n', '<leader>sd', require('telescope.builtin').diagnostics, { de
require('nvim-treesitter.configs').setup {
-- Add languages to be installed here that you want installed for treesitter
ensure_installed = { 'lua', 'typescript', 'rust', 'go', 'python' },
-- Auto install parsers, if missing, for the current buffer
auto_install = true,
highlight = { enable = true },
indent = { enable = true },
incremental_selection = {