You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Create a makefile with the following lines:
vpath %.h /foo/bar
vpath %.i /foo/bar:/baz/blotso
2. Ensure syntax highlighting is on, filetype is set properly, etc.
What is the expected output? What do you see instead?
I expect to see "vpath" highlighted as a statement, % as a make wildcard, and
the rest of the line basically as expected. Instead, the second line is
highlighted as a target line, due to the colon.
What version of the product are you using? On what operating system?
I'm using vim v7.0 on RHEL 5.9 (as directed by my project -- no, I am not
allowed to upgrade the executable, but I can add personal files). I have
confirmed this happens with the currently committed version of make.vim.
Please provide any additional information below.
The solution is to change line 26 to read
syn match makeVpath "^ *vpath"
then add this line just about anywhere:
hi link makeVpath Statement
(Sorry that I can't provide a patch file for this, but the system I work on is
not connected to the Internet.)
Adding these lines to ~/.vim/after/syntax/make.vim solves the problem.
Original issue reported on code.google.com by [email protected] on 16 Mar 2015 at 5:47
The text was updated successfully, but these errors were encountered:
Please report to the maintainer of the script. You find the contact data in the
file $VIMRUNTIME/syntax/make.vim
When he acknowledges the problem and fixes it, he will send an updated script
for inclusion with Vim to Bram.
Original issue reported on code.google.com by
[email protected]
on 16 Mar 2015 at 5:47The text was updated successfully, but these errors were encountered: