aboutsummaryrefslogtreecommitdiff
path: root/after/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'after/ftplugin')
-rw-r--r--after/ftplugin/tex.vim5
-rw-r--r--after/ftplugin/vim.vim8
2 files changed, 0 insertions, 13 deletions
diff --git a/after/ftplugin/tex.vim b/after/ftplugin/tex.vim
index 87281a6..868f4e6 100644
--- a/after/ftplugin/tex.vim
+++ b/after/ftplugin/tex.vim
@@ -1,6 +1 @@
-" Only use the following character pairs for tex file
-if match(&runtimepath, 'auto-pairs') != -1
- let b:AutoPairs = AutoPairsDefine({'<' : '>'})
- let b:AutoPairs = {'(':')', '[':']', '{':'}', '<':'>'}
-endif
set textwidth=79
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