vim-rescript icon indicating copy to clipboard operation
vim-rescript copied to clipboard

Avoid wiping quickfix list on `:RescriptFormat`

Open sinap-fb opened this issue 3 years ago • 1 comments

(This probably applies to the :RescriptBuild command as well)

On format, the users quickfix list should not be wiped, since it can be a list of stuff unrelated to Rescript.

Currently, it is getting wiped here: https://github.com/rescript-lang/vim-rescript/blob/08de54132587131e762b036c11e0e9a9603992fa/autoload/rescript.vim#L164

I think this should be achievable using quickfix IDs.

Thanks

sinap-fb avatar Aug 22 '21 18:08 sinap-fb

yeah, i made this because I didn't know how to isolate quickfix results to certain scope. Didn't know about ids... currently I don't consider this a very big problem (except for wiping e.g. build errors from quickfix.. but for that I usually just rerun the build real quick with a hotkey).

Don't have much time right now to fix this right away, so I would be open for a PR!

ryyppy avatar Aug 28 '21 10:08 ryyppy