More indentation settings
2db24dea110b6126f492c57f6f1c2647f4417ad4
1 parent
7b800c27
.vimrc
+2 -0
| 114 | 114 | endfunction |
|
| 115 | 115 | ||
| 116 | 116 | " Per file-type indentation |
|
| 117 | 117 | au FileType haskell setlocal sts=4 sw=4 expandtab |
|
| 118 | 118 | au FileType javascript setlocal sts=4 sw=4 expandtab |
|
| 119 | + | au FileType css setlocal ts=4 sw=4 noexpandtab |
|
| 119 | 120 | au FileType go setlocal ts=4 sw=4 noexpandtab |
|
| 120 | 121 | au FileType c,cpp setlocal sw=4 noexpandtab |
|
| 121 | 122 | au FileType lua setlocal sw=2 expandtab |
|
| 122 | 123 | au FileType sh,zsh setlocal ts=2 sw=2 noexpandtab |
|
| 123 | 124 | au FileType vim,ruby setlocal sts=2 sw=2 expandtab |
|
| 125 | + | au FileType help setlocal ts=4 sw=4 noexpandtab |
|
| 124 | 126 | ||
| 125 | 127 | if executable('haskell-tags') |
|
| 126 | 128 | au BufWritePost *.hs silent !haskell-tags % '.tags' |
|
| 127 | 129 | au BufWritePost *.hsc silent !haskell-tags % '.tags' |
|
| 128 | 130 | endif |