diff options
Diffstat (limited to 'vim')
| -rw-r--r-- | vim/autocmd.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vim/autocmd.vim b/vim/autocmd.vim index 2e66045..055e03d 100644 --- a/vim/autocmd.vim +++ b/vim/autocmd.vim @@ -13,6 +13,7 @@ autocmd FileType javascript setlocal shiftwidth=2 tabstop=2 " Clean up trailing whitespaces on save. autocmd BufWritePre * :%s/\s\+$//e +au BufRead,BufNewFile Vagrantfile set filetype=ruby " If there is a .lvimrc, source it. Note that this works best by calling vim on " the root of your project. |
