diff --git a/vimrc b/vimrc index 6f83293..0268b41 100644 --- a/vimrc +++ b/vimrc @@ -227,6 +227,9 @@ if has('gui_running') endif if has('autocmd') + if has('unix') + autocmd VimEnter *.ps1 setl ff=unix + endif autocmd BufRead,BufNewFile * set omnifunc=syntaxcomplete#Complete autocmd BufRead,BufNewFile *.go set noet sw=8 ts=8 autocmd BufRead,BufNewFile *.html set et sw=2 indk=