Web lists-archives.com

vim error with cygport file

Hi Yaakov,
any time I use vim for cygport files I have the
following error message:

"R.cygport" 80L, 1600C
Error detected while processing BufRead Auto commands for "*.cygport":
E117: Unknown function: SetFileTypeSH

That seems caused by
$ cat /usr/share/vim/vimfiles/ftdetect/cygport.vim
au BufNewFile,BufRead *.cygpart,*.cygport call SetFileTypeSH("bash")

$ vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Dec  7 2017 04:42:02)
Included patches: 1-1376

$ cygcheck -cd |grep vim
gvim                                    8.0.1376-1
vim                                     8.0.1376-1
vim-common                              8.0.1376-1
vim-minimal                             8.0.1376-1


Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple