dustjs.vim icon indicating copy to clipboard operation
dustjs.vim copied to clipboard

Parameter matching breaks on parameters with spaces

Open dylnhdsn opened this issue 12 years ago • 12 comments

Here is an example of the issue. example

dylnhdsn avatar Oct 02 '12 20:10 dylnhdsn

Totally missed this earlier. thanks for reporting.

I can reproduce.

jimmyhchan avatar Nov 04 '12 16:11 jimmyhchan

I think i got it. please git pull to the latest

marking as closed 6118cbe.

jimmyhchan avatar Nov 04 '12 18:11 jimmyhchan

@dylnhdsn please checkout (not a pun -- this is git) the issue2 branch and see if I'm heading in the right direction.

https://github.com/jimmyhchan/dustjs.vim/commit/47aa0988f8aca90cd39e2054206073f5b3f5a60b

jimmyhchan avatar Nov 07 '12 16:11 jimmyhchan

@dylnhdsn, @jimmyhchan What is the status of this? I want to use this plugin, but the parameter with spaces bug is killing me!

I am trying to see if I can help, but I'm still trying to understand the code.

Thanks.

igreulich avatar Sep 11 '13 15:09 igreulich

I just turned parameter highlighting off.

dylnhdsn avatar Sep 11 '13 17:09 dylnhdsn

Does that at least allow the rest of the syntax to color correctly?

igreulich avatar Sep 11 '13 17:09 igreulich

Yes.

dylnhdsn avatar Sep 11 '13 17:09 dylnhdsn

How do I go about doing that?

igreulich avatar Sep 11 '13 17:09 igreulich

Like this

dylnhdsn avatar Sep 11 '13 17:09 dylnhdsn

Many Thanks!

igreulich avatar Sep 11 '13 17:09 igreulich

Pull request On Sep 11, 2013 10:16 AM, "Ian Greulich" [email protected] wrote:

Many Thanks!

— Reply to this email directly or view it on GitHubhttps://github.com/jimmyhchan/dustjs.vim/issues/2#issuecomment-24258505 .

jimmyhchan avatar Sep 11 '13 17:09 jimmyhchan

I tested the issue2 branch. It doesn't seem to handle the tag containing the parameter with spaces correctly, but it prevents the errant tag from botching syntax highlighting for the rest of the file.

chasingmaxwell avatar Feb 18 '15 17:02 chasingmaxwell