Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log "with code 0" when s:async_code == 0 #288

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

epheien
Copy link

@epheien epheien commented Jun 11, 2024

我在用Asyncrun make的时候, quickfix滚动到最后, 但是我经常无法反应过来这到底是有错误还是没有错误, 因为没有错误的时候, 是没有 "with code ?" 的, 所以我把日志统一了, 这样我只要看最后那一行是不是有 0 字样, 就知道是否执行成功了.

当然, 最有辨识度的方法就是这行日志在非0退出码的时候以错误颜色显示, 但是quick fix貌似没啥好办法做自己的语法高亮了 (可以考虑用matchadd()的方式?)

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

Successfully merging this pull request may close these issues.

1 participant