Web lists-archives.com

Re: vim error with cygport file

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

Attachment: signature.asc
Description: PGP signature