aboutsummaryrefslogtreecommitdiff
path: root/after/ftplugin/vim.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-08-12 00:51:44 +0800
committerjdhao <jdhao@hotmail.com>2021-08-12 00:51:44 +0800
commit37e9487076d3fec7c26850ed50fbe33caae71665 (patch)
tree397ccb779a228f29dd51d53dabf47fdf7e9f3220 /after/ftplugin/vim.vim
parent082a8ab6b5098bbc831bbe4fe0727dff5053f431 (diff)
Use delimitMate instead of auto-pairs
Diffstat (limited to 'after/ftplugin/vim.vim')
-rw-r--r--after/ftplugin/vim.vim8
1 files changed, 0 insertions, 8 deletions
diff --git a/after/ftplugin/vim.vim b/after/ftplugin/vim.vim
index 12f5c32..d0f33b9 100644
--- a/after/ftplugin/vim.vim
+++ b/after/ftplugin/vim.vim
@@ -17,11 +17,3 @@ set tabstop=2 " number of visual spaces per TAB
set softtabstop=2 " number of spaces in tab when editing
set shiftwidth=2 " number of spaces to use for autoindent
set expandtab " expand tab to spaces so that tabs are spaces
-
-" Only define following variable if Auto-pairs plugin is used
-if match(&runtimepath, 'auto-pairs') != -1
- let b:AutoPairs = AutoPairsDefine({'<' : '>'})
-
- " Do not use `"` for vim script since `"` is also used for comment
- let b:AutoPairs = {'(':')', '[':']', '{':'}', "'":"'", '`':'`', '<':'>'}
-endif