Change ff on BufWrite, not VimEnter
This commit is contained in:
parent
6cf521af70
commit
1f785b1e17
1 changed files with 1 additions and 1 deletions
2
vimrc
2
vimrc
|
@ -228,7 +228,7 @@ endif
|
||||||
|
|
||||||
if has('autocmd')
|
if has('autocmd')
|
||||||
if has('unix')
|
if has('unix')
|
||||||
autocmd VimEnter *.ps1 setl ff=unix
|
autocmd BufWrite *.ps1 setl ff=unix
|
||||||
endif
|
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
|
||||||
|
|
Loading…
Reference in a new issue