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-fugitive GBrowse GitLab
|
||||||
vim.g.fugitive_gitlab_domains = {'https://gitlab.freedesktop.org', 'https://gitlab.gnome.org/GNOME', 'https://gitlab.com'}
|
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
|
-- We do this to prevent the loading of the system fzf.vim plugin. This is
|
||||||
-- present at least on Arch/Manjaro
|
-- present at least on Arch/Manjaro
|
||||||
vim.api.nvim_command('set rtp-=/usr/share/vim/vimfiles')
|
vim.api.nvim_command('set rtp-=/usr/share/vim/vimfiles')
|
||||||
|
|
|
@ -130,6 +130,7 @@ local init = function ()
|
||||||
use {
|
use {
|
||||||
'chentau/marks.nvim',
|
'chentau/marks.nvim',
|
||||||
}
|
}
|
||||||
|
use 'andymass/vim-matchup'
|
||||||
end
|
end
|
||||||
|
|
||||||
return require('packer').startup(init)
|
return require('packer').startup(init)
|
||||||
|
|
|
@ -95,5 +95,8 @@ require'nvim-treesitter.configs'.setup {
|
||||||
goto_node = '<CR>',
|
goto_node = '<CR>',
|
||||||
show_help = '?',
|
show_help = '?',
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
|
matchup = {
|
||||||
|
enable = true,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue