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]

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
[cut]
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


Regards
Marco

--
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


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