From 6cf521af70734b8b0f94a3121cc2eb1e79fa0e85 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Wed, 19 Jun 2024 08:00:30 +0100 Subject: [PATCH] Force ff=unix for ps1 files --- vimrc | 3 +++ 1 file changed, 3 insertions(+) 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=