Commit 5c9207a1 authored by Robert Spencer's avatar Robert Spencer

We should never use short names in vimrc

It improves readability and discovery to use the full names.
parent ce07d850
......@@ -81,12 +81,12 @@ endfunction
" }
" Set file type detection
au BufNewFile,BufRead * call WhitespaceHighlight()
au BufNewFile,BufRead *.html.ep set filetype=php | call WhitespaceHighlight()
au BufNewFile,BufRead *.md set filetype=markdown | call WhitespaceHighlight()
autocmd BufNewFile,BufRead * call WhitespaceHighlight()
autocmd BufNewFile,BufRead *.html.ep set filetype=php | call WhitespaceHighlight()
autocmd BufNewFile,BufRead *.md set filetype=markdown | call WhitespaceHighlight()
" Convert tabs to spaces, a tab is converted to 4 spaces
au BufNewFile,BufRead *.py set filetype=python | set expandtab softtabstop=4 | call WhitespaceHighlight()
au BufNewFile,BufRead *.sls set filetype=python | set expandtab softtabstop=4 | call WhitespaceHighlight()
autocmd BufNewFile,BufRead *.py set filetype=python | set expandtab softtabstop=4 | call WhitespaceHighlight()
autocmd BufNewFile,BufRead *.sls set filetype=python | set expandtab softtabstop=4 | call WhitespaceHighlight()
"
" Plugin configuration
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment