~mlb/dotfiles

6af4b5089b4a85bd4791d0a19fc4e1853aaf7888 — Matias Larre Borges 20 days ago eae66ec master
Prefer git as the source to install treesitter parsers
2 files changed, 4 insertions(+), 3 deletions(-)

M nvim/conf/30-options.vim
M nvim/conf/50-treesitter.vim
M nvim/conf/30-options.vim => nvim/conf/30-options.vim +1 -1
@@ 5,7 5,7 @@ set noshowmode                      " No need to repeat the mode in the command 
set pumblend=20                     " Transparent popup-menu
set wildoptions=pum                 " Use pum for the wildmenu
set selection=old
set nowrap
set wrap
set foldmethod=syntax
set foldenable
set foldlevelstart=10               " Only fold nested stuff

M nvim/conf/50-treesitter.vim => nvim/conf/50-treesitter.vim +3 -2
@@ 1,9 1,10 @@
lua <<EOF
require'nvim-treesitter.install'.prefer_git = true
require'nvim-treesitter'.statusline(size) -- statusline indicator
require'nvim-treesitter.configs'.setup {
    highlight = {
        enable = true,                    -- false will disable the whole extension
        disable = { },        -- list of language that will be disabled
        disable = { },                    -- list of language that will be disabled
    },
    incremental_selection = {
        enable = true,


@@ 29,6 30,6 @@ require'nvim-treesitter.configs'.setup {
        list_definitions = "gnD"          -- mapping to list all definitions in current file
      }
    },
    ensure_installed = "maintained" -- one of 'all', 'language', or a list of languages
    ensure_installed = "all"              -- one of 'all', 'language', or a list of languages
}
EOF