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

Will Gray 889553 at bugs.launchpad.net
Tue Apr 10 17:00:58 UTC 2012


Also, you should contact the script maintainer about this.  In the
meantime, you can add those new syn-match lines to
~/.vim/after/syntax/make.vim to take advantage of them without modifying
the system-wide syntax/make.vim.

-- 
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