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

:FlowType output on a multiline #75

Open
antonk52 opened this issue Mar 4, 2018 · 1 comment
Open

:FlowType output on a multiline #75

antonk52 opened this issue Mar 4, 2018 · 1 comment

Comments

@antonk52
Copy link

antonk52 commented Mar 4, 2018

At the moment when I look up a type of a variable under cursor with :FlowType the output in a split is in a single line and is not well readable, I have not found a toggle to show the type of the variable under the cursor in a more readable manner. Is there a way to get such behaviour at the moment?

Perhaps this can be a feature request

@antonk52
Copy link
Author

antonk52 commented Apr 2, 2018

As a temporary workaround I have patched the output of the flow#get_type() function with removing unwanted text with following

  let output = substitute(output, 'Please wait. ', '', '')
  let output = substitute(output, 'Server is garbage collecting shared memory: ', '', '')
  let output = substitute(output, ' -Please wait. Server is handling a request (starting up):', '', '')

perhaps this might make it way into the plugin?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant