Add vim-matchup

This commit is contained in:
Kevin MacMartin 2024-08-16 12:08:24 -04:00
parent 4b6f74fcd9
commit 5563a5ce57
5 changed files with 12 additions and 0 deletions

3
.gitmodules vendored
View file

@ -85,3 +85,6 @@
[submodule "vim/bundle/smartyank.nvim"]
path = vim/bundle/smartyank.nvim
url = https://github.com/ibhagwan/smartyank.nvim
[submodule "vim/bundle/vim-matchup"]
path = vim/bundle/vim-matchup
url = https://github.com/andymass/vim-matchup

View file

@ -135,6 +135,7 @@ For a complete list of mappings specific to **darkcloud-nvimconfig**, check the
* [tabular](https://github.com/godlygeek/tabular): Vim script for text filtering and alignment
* [vim-fugitive](https://github.com/tpope/vim-fugitive): A wrapper integrating git into vim in such a way as to provide features neither of them could offer on their own
* [vim-gutentags](https://github.com/xolox/vim-easytags): A plugin that takes care of the much needed management of tags files in Vim
* [vim-matchup](https://github.com/andymass/vim-matchup): A plugin that lets you highlight, navigate, and operate on sets of matching text
* [vim-move](https://github.com/matze/vim-move): Provides a few convenient ways to move selected text
* [vim-pathogen](https://github.com/tpope/vim-pathogen): A plugin to load other plugins while keeping them isolated in their own directory structure rather than all dumped together
* [vim-polyglot-darkcloud](https://github.com/prurigro/vim-polyglot-darkcloud): The darkcloud-nvimconfig fork of a meta-package that attempts to provide the best syntax plugins for each file type

@ -0,0 +1 @@
Subproject commit 1535a769d5dca851fe7d41b0be95f7c7203a4bef

View file

@ -21,6 +21,12 @@ if (vim.g.enabletreesitter == 1) then
additional_vim_regex_highlighting = { "diff", "php", "scss" },
},
-- vim-matchup
matchup = {
enable = true
},
-- nvim-treesitter-textobjects
textobjects = {
select = {
enable = true,

View file

@ -0,0 +1 @@
let g:matchup_matchparen_offscreen = { 'method': '' }