This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]