public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Marco Atzeri <marco.atzeri@gmail.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: vim error with cygport file
Date: Sun, 31 Dec 2017 18:21:00 -0000	[thread overview]
Message-ID: <0f2e3743-46af-5b14-c2ac-5cc3a537ee6a@gmail.com> (raw)

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

             reply	other threads:[~2017-12-31 17:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-31 18:21 Marco Atzeri [this message]
2018-01-10  9:28 ` Corinna Vinschen
2018-01-10 16:49   ` Yaakov Selkowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0f2e3743-46af-5b14-c2ac-5cc3a537ee6a@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).