nvim: plugins: Add vim-matchup
We also enable the treesitter integration.
This commit is contained in:
parent
cdb4ba7740
commit
e488171b08
3 changed files with 9 additions and 1 deletions
|
@ -92,6 +92,10 @@ vim.g.dispatch_no_maps = 1
|
|||
-- vim-fugitive GBrowse GitLab
|
||||
vim.g.fugitive_gitlab_domains = {'https://gitlab.freedesktop.org', 'https://gitlab.gnome.org/GNOME', 'https://gitlab.com'}
|
||||
|
||||
-- vim-matchup
|
||||
vim.g.matchup_matchparen_offscreen = {}
|
||||
vim.g.matchup_surround_enabled = 1
|
||||
|
||||
-- We do this to prevent the loading of the system fzf.vim plugin. This is
|
||||
-- present at least on Arch/Manjaro
|
||||
vim.api.nvim_command('set rtp-=/usr/share/vim/vimfiles')
|
||||
|
|
|
@ -130,6 +130,7 @@ local init = function ()
|
|||
use {
|
||||
'chentau/marks.nvim',
|
||||
}
|
||||
use 'andymass/vim-matchup'
|
||||
end
|
||||
|
||||
return require('packer').startup(init)
|
||||
|
|
|
@ -95,5 +95,8 @@ require'nvim-treesitter.configs'.setup {
|
|||
goto_node = '<CR>',
|
||||
show_help = '?',
|
||||
},
|
||||
}
|
||||
},
|
||||
matchup = {
|
||||
enable = true,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue