diff --git a/autoload/flowcomplete.vim b/autoload/flowcomplete.vim index 30ee293..1c76774 100644 --- a/autoload/flowcomplete.vim +++ b/autoload/flowcomplete.vim @@ -34,7 +34,7 @@ function! flowcomplete#Complete(findstart, base) " Pass the buffer to flow. let buffer = join(lines, "\n") - let command = g:flow#flowpath.' autocomplete "'.expand('%:p').'"' + let command = g:flow#flowpath.' autocomplete --quiet "'.expand('%:p').'"' let result = system(command, buffer) if result =~ '^Error: not enough type information to autocomplete' || diff --git a/plugin/flow.vim b/plugin/flow.vim index 73ff2a7..c49d67f 100644 --- a/plugin/flow.vim +++ b/plugin/flow.vim @@ -104,7 +104,7 @@ endfunction function! flow#get_type() let pos = line('.').' '.col('.') let path = ' --path '.fnameescape(expand('%')) - let cmd = g:flow#flowpath.' type-at-pos '.pos.path + let cmd = g:flow#flowpath.' type-at-pos --quiet '.pos.path let stdin = join(getline(1,'$'), "\n") let output = 'FlowType: '.system(cmd, stdin)