neovim / go-client

Nvim Go client
https://pkg.go.dev/github.com/neovim/go-client
Apache License 2.0
561 stars 37 forks source link

nvim: add ExitCode function #129

Closed akiyosi closed 2 years ago

akiyosi commented 2 years ago

I'm working on a GUI for neovim and would like to support :cq in the GUI. For this reason, I propose a function in Nvim structure that returns the exitcode of cmd.

zchee commented 2 years ago

@akiyosi sorry for the delay. will review soon.

codecov[bot] commented 2 years ago

Codecov Report

Merging #129 (f6117fe) into master (c5013d8) will decrease coverage by 2.5%. The diff coverage is 0.0%.

:exclamation: Current head f6117fe differs from pull request most recent head ef8a8cf. Consider uploading reports for the commit ef8a8cf to get more accurate results

@@           Coverage Diff            @@
##           master    #129     +/-   ##
========================================
- Coverage    83.0%   80.5%   -2.6%     
========================================
  Files          14      14             
  Lines        3057    3049      -8     
========================================
- Hits         2540    2456     -84     
- Misses        517     593     +76     
Flag Coverage Δ
linux-1.15-nightly 80.5% <0.0%> (?)
linux-1.15-stable 79.7% <0.0%> (?)
linux-1.16-nightly 80.5% <0.0%> (-2.6%) :arrow_down:
linux-1.16-stable 79.7% <0.0%> (-3.4%) :arrow_down:
linux-1.17-nightly 80.5% <0.0%> (-2.6%) :arrow_down:
linux-1.17-stable 79.7% <0.0%> (-3.4%) :arrow_down:
linux-1.18-nightly ?
linux-1.18-stable ?
macos-1.15-nightly 80.5% <0.0%> (?)
macos-1.15-stable 79.7% <0.0%> (?)
macos-1.16-nightly 80.5% <0.0%> (-2.6%) :arrow_down:
macos-1.16-stable 79.7% <0.0%> (-3.4%) :arrow_down:
macos-1.17-nightly 80.5% <0.0%> (-2.6%) :arrow_down:
macos-1.17-stable 79.7% <0.0%> (-3.4%) :arrow_down:
macos-1.18-nightly ?
macos-1.18-stable ?
windows-1.15-nightly 79.6% <0.0%> (?)
windows-1.15-stable 78.9% <0.0%> (?)
windows-1.16-nightly 79.6% <0.0%> (-2.6%) :arrow_down:
windows-1.16-stable 78.9% <0.0%> (-3.4%) :arrow_down:
windows-1.17-nightly 79.6% <0.0%> (-2.6%) :arrow_down:
windows-1.17-stable 78.9% <0.0%> (-3.4%) :arrow_down:
windows-1.18-nightly ?
windows-1.18-stable ?
Impacted Files Coverage Δ
nvim/nvim.go 78.5% <0.0%> (-1.8%) :arrow_down:
nvim/plugin/plugin.go 39.1% <0.0%> (-35.0%) :arrow_down:
nvim/api.go 96.9% <0.0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c5013d8...ef8a8cf. Read the comment docs.