Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@k-takata
Copy link
Member

Cygwin/MSYS2 provides dir.exe, and if it existed in the %PATH%,
"term dir" succeeded unintentionally. That can make the test flaky.
Use dir.com instead of dir to fix this.

"term dir.com" should fail. (Assuming dir.com doesn't exist.)
"term ++shell dir.com" should execute the dir builtin command even with
the extension ".com".

Cygwin/MSYS2 provides dir.exe, and if it existed in the %PATH%,
"term dir" succeeded unintentionally. That can make the test flaky.
Use dir.com instead of dir to fix this.

"term dir.com" should fail. (Assuming dir.com doesn't exist.)
"term ++shell dir.com" should execute the dir builtin command even with
the extension ".com".
@brammool brammool closed this in 066b12e Jul 28, 2020
@k-takata k-takata deleted the fix-Test_terminal_shell_option branch July 28, 2020 19:47
zeertzjq added a commit to zeertzjq/neovim that referenced this pull request Aug 22, 2023
…uffer

Problem:    The cursor line number becomes negative when using :z^ in an empty
            buffer. (neovim vim/vim#6557)
Solution:   Correct the line number.  Also reset the column.

vim/vim@a364cdb

Co-authored-by: Bram Moolenaar <[email protected]>
zeertzjq added a commit to neovim/neovim that referenced this pull request Aug 22, 2023
…uffer (#24836)

Problem:    The cursor line number becomes negative when using :z^ in an empty
            buffer. (neovim vim/vim#6557)
Solution:   Correct the line number.  Also reset the column.

vim/vim@a364cdb

Co-authored-by: Bram Moolenaar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant