aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin
diff options
context:
space:
mode:
authorTeddy Wing2014-05-23 20:18:39 -0400
committerTeddy Wing2014-05-23 20:18:39 -0400
commit472c9d93701f9993e6451c3c29d26266581fb275 (patch)
treed9db85df3fa9ae0e9d92f96a0642e98366e368dd /ftplugin
parent8317474a55b055832a877c1c142a30cdf51b8314 (diff)
downloaddotvim-472c9d93701f9993e6451c3c29d26266581fb275.tar.bz2
vimrc: move gitcommit settings to ftplugin
Move gitcommit indentation settings from vimrc to an ftplugin file. Keeps things more organised and makes for a cleaner vimrc.
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/gitcommit.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/ftplugin/gitcommit.vim b/ftplugin/gitcommit.vim
new file mode 100644
index 0000000..fdffb20
--- /dev/null
+++ b/ftplugin/gitcommit.vim
@@ -0,0 +1,6 @@
+" Git commit message settings
+
+setlocal expandtab
+setlocal tabstop=2
+setlocal softtabstop=2
+setlocal shiftwidth=2