Skip to content
This repository was archived by the owner on Oct 1, 2020. It is now read-only.

Commit ac4c794

Browse files
author
Yifu Wang
committed
Pass --quite to FlowClientCall() in flow#jump_to_def()
:FlowJumpToDef currently doesn't work without this flag (tested with flow v0.61.0 nvim v0.2.0). It's probably flow server's fault to output server information in the presence of `--from vim` but it doesn't hurt to have this flag set.
1 parent 089de6b commit ac4c794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/flow.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function! flow#jump_to_def()
126126
let pos = line('.').' '.col('.')
127127
let path = ' --path '.fnameescape(expand('%'))
128128
let stdin = join(getline(1,'$'), "\n")
129-
let flow_result = <SID>FlowClientCall('get-def '.pos.path, '', stdin)
129+
let flow_result = <SID>FlowClientCall('get-def --quiet '.pos.path, '', stdin)
130130
" Output format is:
131131
" File: "/path/to/file", line 1, characters 1-11
132132

0 commit comments

Comments
 (0)