This is the mail archive of the
cygwin
mailing list for the Cygwin project.
vim error with cygport file
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Sun, 31 Dec 2017 18:21:54 +0100
- Subject: vim error with cygport file
- Authentication-results: sourceware.org; auth=none
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