diff --git a/.vimrc b/.vimrc index 220730a..2204839 100755 --- a/.vimrc +++ b/.vimrc @@ -42,8 +42,9 @@ syntax on " Set the filetype based on the file's extension, but only if " 'filetype' has not already been set augroup filetypedetect - au BufRead,BufNewFile .i3initrc set filetype=sh - au BufRead,BufNewFile *.config setfiletype conf + au BufRead,BufNewFile .i3initrc setfiletype sh + au BufRead,BufNewFile *.config setfiletype conf + au BufRead,BufNewFile [Ss]nakefile.* setfiletype snakemake augroup END set tabstop=4 " show existing tab with 4 spaces width