wookiehangover / jshint.vim

JSHint fork of jslint.vim
Other
194 stars 45 forks source link

Resolves issues with windows root paths and paths with spaces. #22

Open johngalambos opened 10 years ago

johngalambos commented 10 years ago

Resolves #16. This should fix the Windows issues by adding support for Windows root paths. Vim sees a Windows root path as "C:\" so the length comparison to 1 had to be changed. I also added support for spaces within the paths.

I've tested this on Windows XP, Windows 7, OSX 10.8.5, and a recent version of Arch Linux and it looks like it hasn't broken anything. Let me know if you see any issues or would like any changes. Thanks!

eddiemonge commented 10 years ago

I think I might close this PR and also #23 and use JSHint natively to look for the jshintrc file. I have to test to make sure that will work first though. If not, I'll evaluate both of these