diff options
| author | jdhao <jdhao@hotmail.com> | 2019-09-12 21:29:00 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2019-09-12 21:29:00 +0800 |
| commit | 6428422cbd2c16a64981fd205395661f718c7a59 (patch) | |
| tree | 63b918dbd4e015c3e8934ba4fe1a73c98c605932 /after/ftplugin/tex.vim | |
| parent | c0d82c312ce0df8866fa9f1bcdaf626fdfb3e709 (diff) | |
Simplify init.vim and move settings to autoload and after directory
Diffstat (limited to 'after/ftplugin/tex.vim')
| -rw-r--r-- | after/ftplugin/tex.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/after/ftplugin/tex.vim b/after/ftplugin/tex.vim new file mode 100644 index 0000000..1181e79 --- /dev/null +++ b/after/ftplugin/tex.vim @@ -0,0 +1,6 @@ +" Only use the following character pairs for tex file +if &runtimepath =~? 'auto-pairs' + let b:AutoPairs = AutoPairsDefine({'<' : '>'}) + let b:AutoPairs = {'(':')', '[':']', '{':'}', '<':'>'} +endif +set textwidth=79 |
