diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2016-02-17 11:08:19 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2016-02-17 11:08:19 +0100 |
| commit | 601b1b45c2f58e98a697c7e74c36c1b35ae68ce4 (patch) | |
| tree | 0effe22a05d5e773f9a87b188b71553127f6640a | |
| parent | 1293ab97d100af7536ca1d8312dfa745f34ccdfe (diff) | |
| download | dotfiles-601b1b45c2f58e98a697c7e74c36c1b35ae68ce4.tar.gz dotfiles-601b1b45c2f58e98a697c7e74c36c1b35ae68ce4.zip | |
vim: automatically set Vagrantfile as ruby
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
| -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. |
