vim error with cygport file

Corinna Vinschen
Wed Jan 10 09:28:00 GMT 2018

On Dec 31 18:21, Marco Atzeri wrote:
> 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
> [cut]
> au BufNewFile,BufRead *.cygpart,*.cygport call SetFileTypeSH("bash")

Apparently this has to be

  au BufNewFile,BufRead *.cygpart,*.cygport call dist#ft#SetFileTypeSH("bash")


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <>

More information about the Cygwin mailing list