E216: No such group or event: filetypedetect *

18 views
Skip to first unread message

M Kelly

unread,
Dec 21, 2019, 2:25:42 PM12/21/19
to vim_dev
Hi,

I sometimes get this -

E216: No such group or event: filetypedetect *

after an lopen from a plugin.  If I remove/comment out the -

silent! au! filetypedetect *

from /usr/local/share/vim/vim82/ftopen.vim

then after many attempts so far I do not see this exception.

Anyone know 1) how I can debug to see who is throwing this ? and 2). does this mean the silent! isn't working, or should it just have a try/catch around it ?
Or perhaps just add a bogus autogroup so the au! doesn't throw ?
Any suggestions ?

thx for everything vim,
-m

Yegappan Lakshmanan

unread,
Dec 22, 2019, 4:33:08 PM12/22/19
to vim_dev
Hi,

On Sun, Dec 22, 2019 at 12:55 AM M Kelly <mckel...@gmail.com> wrote:
>
> I sometimes get this -
>
> E216: No such group or event: filetypedetect *
>
> after an lopen from a plugin. If I remove/comment out the -
>
> silent! au! filetypedetect *
>
> from /usr/local/share/vim/vim82/ftopen.vim
>

I don't see a file named ftopen.vim in the VIm runtime files.
Is this file added by a plugin?

- Yegappan

M Kelly

unread,
Dec 24, 2019, 2:32:52 PM12/24/19
to vim_dev
Hi,

I apologize, I meant ftoff.vim, not ftopen.vim.

I found my error using v:throwpoint and effort.
I was not reading in all data from a command run from a job.
Once I corrected that I no longer see these errors.

thx and take care,
-m

Reply all
Reply to author
Forward
0 new messages