Force ff=unix for ps1 files
This commit is contained in:
parent
39f96267ed
commit
6cf521af70
1 changed files with 3 additions and 0 deletions
3
vimrc
3
vimrc
|
@ -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=
|
||||||
|
|
Loading…
Reference in a new issue