diff options
author | Teddy Wing | 2014-05-02 14:38:43 -0400 |
---|---|---|
committer | Teddy Wing | 2014-05-02 14:38:43 -0400 |
commit | cae9397786294391673c6306c1c70a9bab99ea97 (patch) | |
tree | ef0dacc89f1e7d40d43bbb00c960a8672cb9fd5c /vimrc | |
parent | ed071740e882e9d6d2d608c59042d42226b580b8 (diff) | |
download | dotvim-cae9397786294391673c6306c1c70a9bab99ea97.tar.bz2 |
vimrc: set gitcommit files to use 2-space indentation
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -98,6 +98,10 @@ " * Change status bar colour from white to green when switching into and " out of insert mode " +" 2014.05.02: +" * Add augroup for filetype indentation settings +" * Set gitcommit files to use 2-space indentation +" " Pathogen @@ -397,6 +401,15 @@ augroup filetype_syntax_highlighting augroup END +" Indentation rules by file type +augroup filetype_indentation + autocmd! + + " git commit messages + autocmd FileType gitcommit setlocal expandtab tabstop=2 softtabstop=2 shiftwidth=2 +augroup END + + " Project Settings " ================ |