Last active
August 29, 2015 13:56
-
-
Save sneeu/9247786 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set tabstop=4 shiftwidth=4 softtabstop=4 | |
set expandtab | |
autocmd FileType css setlocal ts=4 sts=4 sw=4 noexpandtab | |
autocmd FileType html setlocal ts=4 sts=4 sw=4 noexpandtab | |
autocmd FileType xml setlocal ts=4 sts=4 sw=4 noexpandtab | |
autocmd FileType htmldjango setlocal ts=4 sts=4 sw=4 noexpandtab | |
autocmd FileType javascript setlocal ts=4 sts=4 sw=4 noexpandtab | |
autocmd FileType mustache setlocal ts=4 sts=4 sw=4 noexpandtab | |
autocmd FileType markdown setlocal ts=4 sts=4 sw=4 expandtab spell spelllang=en_gb | |
autocmd FileType php setlocal ts=4 sts=4 sw=4 noexpandtab | |
autocmd FileType ruby setlocal ts=2 sts=2 sw=2 expandtab | |
autocmd BufNewFile,BufReadPost *.go set filetype=go | |
autocmd FileType go setlocal ts=4 sts=4 sw=4 noexpandtab | |
autocmd BufNewFile,BufRead *.less setlocal filetype=less | |
autocmd FileType less setlocal ts=4 sts=4 sw=4 noexpandtab | |
autocmd BufNewFile,BufRead *.hive setlocal filetype=sql noexpandtab | |
autocmd BufNewFile,BufRead *.pig setlocal filetype=pig noexpandtab | |
autocmd BufNewFile,BufRead *.psql setlocal filetype=sql noexpandtab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment