diff options
| author | Miquel Sabaté <mikisabate@gmail.com> | 2014-09-10 17:31:59 +0200 |
|---|---|---|
| committer | Miquel Sabaté <mikisabate@gmail.com> | 2014-09-10 17:31:59 +0200 |
| commit | 4e1da564c4b7f3bd4f72bdf8667687192ed394c3 (patch) | |
| tree | 901d976a170bc24498d7edb69d2535b9ab8a814b | |
| parent | c283977b63b85ed6ce22f86b80faa577582949ee (diff) | |
| download | dotfiles-4e1da564c4b7f3bd4f72bdf8667687192ed394c3.tar.gz dotfiles-4e1da564c4b7f3bd4f72bdf8667687192ed394c3.zip | |
vim: added a filetype rule for shell scripts.
| -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 5cebac3..74c1319 100644 --- a/vim/autocmd.vim +++ b/vim/autocmd.vim @@ -2,6 +2,7 @@ " Indentation rules for different languages. " Some rules regarding indentation on different languages. +autocmd FileType sh set shiftwidth=4 tabstop=4 autocmd FileType perl set shiftwidth=4 tabstop=4 autocmd FileType c set shiftwidth=4 tabstop=4 autocmd FileType yacc set shiftwidth=4 tabstop=4 |
