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