aboutsummaryrefslogtreecommitdiff
path: root/vim/config/match.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/config/match.vim')
-rw-r--r--vim/config/match.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/vim/config/match.vim b/vim/config/match.vim
new file mode 100644
index 00000000..5c53d63e
--- /dev/null
+++ b/vim/config/match.vim
@@ -0,0 +1,6 @@
+" Try to run the version of matchit.vim included in the distribution, if there
+" is one; extends % to match more than it does by default
+silent! runtime macros/matchit.vim
+
+" Match all forms of brackets in pairs (including angle brackets)
+set matchpairs=(:),{:},[:],<:>