Force ff=unix for ps1 files

This commit is contained in:
Anthony Rose 2024-06-19 08:00:30 +01:00
parent 39f96267ed
commit 6cf521af70

3
vimrc
View file

@ -227,6 +227,9 @@ if has('gui_running')
endif endif
if has('autocmd') if has('autocmd')
if has('unix')
autocmd VimEnter *.ps1 setl ff=unix
endif
autocmd BufRead,BufNewFile * set omnifunc=syntaxcomplete#Complete autocmd BufRead,BufNewFile * set omnifunc=syntaxcomplete#Complete
autocmd BufRead,BufNewFile *.go set noet sw=8 ts=8 autocmd BufRead,BufNewFile *.go set noet sw=8 ts=8
autocmd BufRead,BufNewFile *.html set et sw=2 indk= autocmd BufRead,BufNewFile *.html set et sw=2 indk=