Skip to content

Commit

Permalink
using danihodovic's fix-error-format branch (flow/vim-flow#11) + mino…
Browse files Browse the repository at this point in the history
…r custom patch
  • Loading branch information
datadeflator committed Aug 1, 2017
1 parent a48e723 commit 54dfd0b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions my_configs.vim
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,23 @@ let g:flow#autoclose = 1

" flow coverage for current file
map <leader>f :echo system("./node_modules/.bin/flow coverage " . expand("%:p"))<CR>
" NOTE: using danihodovic's fix-error-format branch (https://github.com/flowtype/vim-flow/issues/11) + below patch
" diff --git i/plugin/flow.vim w/plugin/flow.vim
" index 208040b..67ef4b5 100644
" --- i/plugin/flow.vim
" +++ w/plugin/flow.vim
" @@ -85,14 +85,16 @@ function! Format_json_error_msg(error)
" \)
" " The error message is most informative when all the message.descr are concatenated
" for message in a:error.message
" let str .= {+message.context . ' ' .+} message.descr . ' '
" endfor
" return str
" endfunction
"
" " Main interface functions.
" function! flow#typecheck()
" let {+command = g:flow#flowpath . ' --json'+}
" {+ let output = system(command)+}
" {+ "let+} output = system('flow --json')

0 comments on commit 54dfd0b

Please sign in to comment.