Skip to content

Commit

Permalink
Fix newline character (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
eagletmt committed Feb 20, 2014
1 parent 8df25ed commit d6b2fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/necoghc.vim
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ function! s:ghc_mod(cmd) "{{{
lcd `=expand('%:p:h')`
let l:ret = s:system(['ghc-mod', '-g', '-package', '-g', 'ghc'] + a:cmd)
lcd -
return split(l:ret, '\n')
return split(l:ret, '\r\n\|[\r\n]')
endfunction "}}}

function! s:extract_modules() "{{{
Expand Down

0 comments on commit d6b2fe9

Please sign in to comment.