neovim / pynvim

Python client and plugin host for Nvim
http://pynvim.readthedocs.io/en/latest/
Apache License 2.0
1.48k stars 118 forks source link

imports vim module by default. #430

Closed sunnyrahul25 closed 4 years ago

sunnyrahul25 commented 4 years ago

fixes neovim/neovim#11783.

codecov[bot] commented 4 years ago

Codecov Report

Merging #430 into master will increase coverage by 1.76%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #430      +/-   ##
==========================================
+ Coverage   71.17%   72.94%   +1.76%     
==========================================
  Files          32       32              
  Lines        2255     2262       +7     
  Branches      210      210              
==========================================
+ Hits         1605     1650      +45     
+ Misses        593      553      -40     
- Partials       57       59       +2
Impacted Files Coverage Δ
test/test_host.py 100% <100%> (ø) :arrow_up:
pynvim/plugin/script_host.py 43.01% <100%> (+17.17%) :arrow_up:
pynvim/api/nvim.py 82.86% <0%> (+1.19%) :arrow_up:
pynvim/msgpack_rpc/event_loop/asyncio.py 64% <0%> (+5%) :arrow_up:

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 9870f9a...57031fb. Read the comment docs.

justinmk commented 4 years ago

Thanks. Perhaps add a test ? https://github.com/neovim/pynvim/blob/master/test/test_host.py

https://github.com/neovim/pynvim#development