Scuilion / gradle-syntastic-plugin

A Gradle plugin for integrating your Java project with Vim and Syntastic.
47 stars 3 forks source link

Slashes in syntastic_javac_config #6

Open Scuilion opened 9 years ago

Scuilion commented 9 years ago

Slashes in syntastic_javac_config should be forward even in Windows

rhart92 commented 7 years ago

Has there been any progress on making the slashes forward even in Windows? Right now, I have a script that every time the file updates, it changes all the slashes to forward but it would be nice if this was supported.

Scuilion commented 7 years ago

What version of the plugin are you using?

rhart92 commented 7 years ago

0.3.8

Scuilion commented 7 years ago

The best option here may be to add a manually configurable switch to set the direction of the slash. Every time I look into this issue I feel like I get turned around. Is it running on cygwin/vim, gvim, or bash for windows. Too many use cases to test for.

dridi commented 7 years ago

Any reason why string.replace('\\', '/') wouldn't do the trick? Naive question, not a windows user myself.

Scuilion commented 7 years ago

Yeah, the should do the trick. The problem I keep running into is in some configuration on windows (I can't remember now) the slashes need to be *nix style. I don't have a windows box handy. I'll have to see if I can find one and get a little more specific.

JohnTJohnston commented 6 years ago

One new vote to support automatic slash manipulation. I'm using git bash on Windows, and I have confirmed that forward slashes or double backslashes function correctly.