From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: vim error with cygport file
Date: Wed, 10 Jan 2018 09:28:00 -0000 [thread overview]
Message-ID: <20180110092753.GH9118@calimero.vinschen.de> (raw)
In-Reply-To: <0f2e3743-46af-5b14-c2ac-5cc3a537ee6a@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 717 bytes --]
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2018-01-10 9:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-31 18:21 Marco Atzeri
2018-01-10 9:28 ` Corinna Vinschen [this message]
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=20180110092753.GH9118@calimero.vinschen.de \
--to=corinna-cygwin@cygwin.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).