Closed nickspoons closed 2 years ago
It works, however it leaves the command line focused, so either I have to type <CR>
, either a movement (j
or G
for instance), which happens to trigger E20: Mark not set
Edit: I can do silent cfdo OmniSharpFixUsings
but it'd be nice if cfdo OmniSharpFixUsings
did not force a <CR>
in the workflow
Edit2: set cmdheight=2
works as well
Edit3: this issue is inherent to cfdo
and not to Omnisharp.
Another detail is that I have both my buffers with unnecessary usings displayed in the same tab, and ALE
yellow warnings signs do not update
OK I can see that there are tweaks that could be made to the actual :cfdo OmniSharpFixUsings
flow, but this PR is good as it is, it's a simple and sensible improvement, so I'll merge it.
I'm not sure if the ALE thing is something that OmniSharp-vim should be handling, or if it's a workflow issue.
Fixes #817