Skip to content

Commit a7c76b9

Browse files
committed
Merge pull request #92 from andy-morris/info-b
Put '-b \n' before 'info' in ghcmod#info()
2 parents 1cab596 + d604bfd commit a7c76b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/ghcmod.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function! ghcmod#getHaskellIdentifier() "{{{
1515
endfunction "}}}
1616

1717
function! ghcmod#info(fexp, path, module) "{{{
18-
let l:cmd = ghcmod#build_command(['info', "-b \n", a:path, a:module, a:fexp])
18+
let l:cmd = ghcmod#build_command(["-b \n", 'info', a:path, a:module, a:fexp])
1919
let l:output = ghcmod#system(l:cmd)
2020
" Remove trailing newlines to prevent empty lines
2121
let l:output = substitute(l:output, '\n*$', '', '')

0 commit comments

Comments
 (0)