Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

hlint unable to load .hs file inside Cygwin #2130 #2131

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion syntax_checkers/haskell/hlint.vim
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ set cpo&vim

function! SyntaxCheckers_haskell_hlint_GetLocList() dict
let buf = bufnr('')
let modifiedbufname = fnamemodify(bufname(buf), ':p')
let makeprg = self.makeprgBuild({
\ 'fname': syntastic#util#shescape(fnamemodify(bufname(buf), ':p')) })
\ 'fname': has('win32unix')?syntastic#util#CygwinPath(modifiedbufname):syntastic#util#shescape(modifiedbufname)})

let errorformat =
\ '%E%f:%l:%v: Error while reading hint file\, %m,' .
Expand Down