eagletmt / ghcmod-vim

Happy Haskell programming on Vim, powered by ghc-mod
http://www.vim.org/scripts/script.php?script_id=4473
433 stars 59 forks source link

Spaces in directory name leads to parse error. #43

Closed Grivr closed 10 years ago

Grivr commented 10 years ago

So, I use ghcmod-vim in GVIM on the Win7. I've created path to my project "d:!\habsentminded master\" and ghcmod-vim ouptputs: || parse error in ghcmod! Could not parse the following ghc-mod output:d:!\habsentminded master\habsentminded.hs:47:77: Error: Redundant bracket Found: (ta) Why not: ta

This is not observed, when I remove whitespace like that: "d:!\habsentminded_master\"

eagletmt commented 10 years ago

Confirmed. I'll fix it.

eagletmt commented 10 years ago

Fixed in https://github.com/eagletmt/ghcmod-vim/commit/a256fb11d1d911ccbfd5436b5820ea5130705f90 . Please reopen it if you still run into this issue. Thank you for reporting it.

Grivr commented 10 years ago

Yup, it worked perfectly. Thank you for a fast response!