[Bug 889553] Re: make.vim fails to recognize valid makeIdent with dashes during assignment

Curtis Brown 889553 at bugs.launchpad.net
Sat Nov 12 16:42:17 UTC 2011


** Patch added: "patch for vim 7.2 (ubuntu 10.04)"
   https://bugs.launchpad.net/bugs/889553/+attachment/2594406/+files/make.patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/889553

Title:
  make.vim fails to recognize valid makeIdent with dashes during
  assignment

Status in “vim” package in Ubuntu:
  New

Bug description:
  1. Create a Makefile with a variable that has dashes:
  foo-bar=baz
  $(foo-bar):

  2. Observe that syntax highlighting fails for assignment, but $(foo-bar) is highlighted correctly.
  3. Apply the attached patch; restart vim; observe that the bug is fixed (root cause: the \w pattern excludes dashes).

  The bug definitely exists in 10.04 and 11.10. I'm guessing it's
  universal. If you need exact packages:

  2:7.2.330-1ubuntu3 (ubuntu 10.04, amd64)
  2:7.3.154+hg~74503f6ee649-2ubuntu3  (ubuntu 11.10, i386)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/889553/+subscriptions




More information about the foundations-bugs mailing list