diff options
author | Aaron LI <aly@aaronly.me> | 2018-11-20 09:50:29 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-11-20 09:50:29 +0800 |
commit | 2a4a17074e22fe4ce6959d358f23d432191a0493 (patch) | |
tree | 39e52f644f379efd250f220d5f0b856180f2b90e /_vim | |
parent | 624a7aaa7777ffe5298181c3521484c287ab6ca9 (diff) | |
download | dotfiles-2a4a17074e22fe4ce6959d358f23d432191a0493.tar.bz2 |
vim: Add filetype plugins
Diffstat (limited to '_vim')
-rw-r--r-- | _vim/ftplugin/mail.vim | 9 | ||||
-rw-r--r-- | _vim/ftplugin/python.vim | 6 | ||||
-rw-r--r-- | _vim/ftplugin/tex.vim | 7 |
3 files changed, 22 insertions, 0 deletions
diff --git a/_vim/ftplugin/mail.vim b/_vim/ftplugin/mail.vim new file mode 100644 index 0000000..9b4b732 --- /dev/null +++ b/_vim/ftplugin/mail.vim @@ -0,0 +1,9 @@ +" +" ~/.vim/ftplugin/mail.vim +" + +setlocal spell +setlocal wrap +setlocal textwidth=0 +setlocal wrapmargin=0 +setlocal formatoptions+=w diff --git a/_vim/ftplugin/python.vim b/_vim/ftplugin/python.vim new file mode 100644 index 0000000..1d7624d --- /dev/null +++ b/_vim/ftplugin/python.vim @@ -0,0 +1,6 @@ +" +" ~/.vim/ftplugin/python.vim +" + +setlocal shiftwidth=4 +setlocal expandtab diff --git a/_vim/ftplugin/tex.vim b/_vim/ftplugin/tex.vim new file mode 100644 index 0000000..efdf2d2 --- /dev/null +++ b/_vim/ftplugin/tex.vim @@ -0,0 +1,7 @@ +" +" ~/.vim/ftplugin/tex.vim +" + +setlocal shiftwidth=2 +setlocal expandtab +setlocal spell |