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

More fixes for wrapping in :args #4737

Closed
wants to merge 4 commits into from
Closed

Conversation

blueyed
Copy link

@blueyed blueyed commented Jul 27, 2019

No description provided.

@codecov-io
Copy link

Codecov Report

Merging #4737 into master will decrease coverage by 1.27%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4737      +/-   ##
==========================================
- Coverage   81.39%   80.12%   -1.28%     
==========================================
  Files         115      111       -4     
  Lines      145353   138277    -7076     
==========================================
- Hits       118309   110790    -7519     
- Misses      27044    27487     +443
Impacted Files Coverage Δ
src/version.c 91.54% <100%> (-0.53%) ⬇️
src/gui_gtk_x11.c 47.96% <0%> (-10.01%) ⬇️
src/gui.c 56.69% <0%> (-7.02%) ⬇️
src/os_unix.c 59.19% <0%> (-4.14%) ⬇️
src/pty.c 56.25% <0%> (-3.75%) ⬇️
src/libvterm/src/unicode.c 91.17% <0%> (-3.7%) ⬇️
src/gui_gtk.c 27.9% <0%> (-3.56%) ⬇️
src/if_xcmdsrv.c 82.64% <0%> (-3.36%) ⬇️
src/buffer.c 81.75% <0%> (-3.02%) ⬇️
src/beval.c 80.95% <0%> (-3.02%) ⬇️
... and 106 more

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 0aca293...a3c8586. Read the comment docs.

" No trailing newline with one item per row.
let long_arg = repeat('X', 81)
exe 'args '.long_arg
call assert_equal("\n[".long_arg.']', execute('args'))
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be done in Test_large_arg also instead.

@brammool brammool closed this in 9800bfe Jul 27, 2019
@blueyed blueyed deleted the fix-args-2 branch July 27, 2019 19:55
blueyed added a commit to blueyed/neovim that referenced this pull request Jul 27, 2019
Problem:    :args output is not aligned.
Solution:   Output a line break after the last item in a row.
vim/vim@74da393

vim-patch:8.1.1750: depending on the terminal width :version may miss a line break

Problem:    Depending on the terminal width :version may miss a line break.
Solution:   Add a line break when needed.
vim/vim@8a5c29a

vim-patch:8.1.1760: extra line break for wrapping output of :args

Problem:    Extra line break for wrapping output of :args.
Solution:   Avoid the extra line break. (Daniel Hahler, closes vim/vim#4737)
vim/vim@9800bfe
blueyed added a commit to neovim/neovim that referenced this pull request Jul 27, 2019
Problem:    :args output is not aligned.
Solution:   Output a line break after the last item in a row.
vim/vim@74da393

vim-patch:8.1.1750: depending on the terminal width :version may miss a line break

Problem:    Depending on the terminal width :version may miss a line break.
Solution:   Add a line break when needed.
vim/vim@8a5c29a

vim-patch:8.1.1760: extra line break for wrapping output of :args

Problem:    Extra line break for wrapping output of :args.
Solution:   Avoid the extra line break. (Daniel Hahler, closes vim/vim#4737)
vim/vim@9800bfe
timeyyy pushed a commit to timeyyy/neovim that referenced this pull request Aug 9, 2019
Problem:    :args output is not aligned.
Solution:   Output a line break after the last item in a row.
vim/vim@74da393

vim-patch:8.1.1750: depending on the terminal width :version may miss a line break

Problem:    Depending on the terminal width :version may miss a line break.
Solution:   Add a line break when needed.
vim/vim@8a5c29a

vim-patch:8.1.1760: extra line break for wrapping output of :args

Problem:    Extra line break for wrapping output of :args.
Solution:   Avoid the extra line break. (Daniel Hahler, closes vim/vim#4737)
vim/vim@9800bfe
manuelschiller pushed a commit to manuelschiller/vim that referenced this pull request Nov 10, 2019
Problem:    Extra line break for wrapping output of :args.
Solution:   Avoid the extra line break. (Daniel Hahler, closes vim#4737)
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.

None yet

2 participants