[Bug documentation/25186] New: Vim ftplugin creates conflicting autocmd group

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug documentation/25186] New: Vim ftplugin creates conflicting autocmd group

tim@mr-dog.net
https://sourceware.org/bugzilla/show_bug.cgi?id=25186

            Bug ID: 25186
           Summary: Vim ftplugin creates conflicting autocmd group
           Product: systemtap
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: documentation
          Assignee: systemtap at sourceware dot org
          Reporter: jonathan.kinred at gmail dot com
  Target Milestone: ---

There's a long standing bug in the provided Vim plugin which breaks the
expected case insensitive behaviour of Vim's autocmd event's.

There is a Stack Exchange description of the problem here:
https://vi.stackexchange.com/questions/5546/why-doesnt-vim-work-with-lowercase-event-names/5731#5731

By using the autocmd group name "filetype", which has the same name as an
autocmd "event", subsequent use of case insensitive events will try to allocate
the command to the group created in the systemtap Vim plugin.

I discovered this when installing the "Development Libraries" group on Fedora
31 which includes the systemtap-devel package. After this, other unrelated Vim
plugins broke.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug documentation/25186] Vim ftplugin creates conflicting autocmd group

tim@mr-dog.net
https://sourceware.org/bugzilla/show_bug.cgi?id=25186

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |fche at redhat dot com
         Resolution|---                         |FIXED

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
I was not able to reproduce the failure here, but speculatively committed
a fix by renaming the augroup.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug documentation/25186] Vim ftplugin creates conflicting autocmd group

tim@mr-dog.net
In reply to this post by tim@mr-dog.net
https://sourceware.org/bugzilla/show_bug.cgi?id=25186

--- Comment #2 from Jonathan <jonathan.kinred at gmail dot com> ---
Thanks Frank!

--
You are receiving this mail because:
You are the assignee for the bug.