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

Skip to content

Conversation

@k-takata
Copy link
Member

This is originally reported at k-takata/vim-win32-installer#3.

Please add to *.bat file
for example vim80\vimtutor.bat
change
vim -u NONE -c "so $VIMRUNTIME/tutor/tutor.vim"
to
call vim -u NONE -c "so $VIMRUNTIME/tutor/tutor.vim"
because now second string (vim -u NONE -c "set nocp" %TUTORCOPY%) newer run

If Vim is installed with "Create .bat files for command line use", the
"vim" command executes "vim.bat" and it causes the reported problem.
Using "call" fixes it.

This is originally reported at k-takata/vim-win32-installer#3.
If Vim is installed with "Create .bat files for command line use", the
"vim" command executes "vim.bat" and it causes the reported problem.
Using "call" fixes it.
@codecov-io
Copy link

Codecov Report

Merging #2105 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2105      +/-   ##
==========================================
- Coverage   73.97%   73.97%   -0.01%     
==========================================
  Files          90       90              
  Lines      131716   131717       +1     
  Branches    28941    28941              
==========================================
- Hits        97436    97434       -2     
+ Misses      34276    34264      -12     
- Partials        4       19      +15
Impacted Files Coverage Δ
src/libvterm/src/screen.c 71.94% <0%> (-0.4%) ⬇️
src/ex_cmds.c 77.71% <0%> (-0.09%) ⬇️
src/channel.c 82.54% <0%> (-0.05%) ⬇️
src/gui_gtk_x11.c 47.71% <0%> (+0.05%) ⬆️
src/if_py_both.h 76.23% <0%> (+0.14%) ⬆️
src/os_unix.c 53.36% <0%> (+0.18%) ⬆️
src/gui.c 46.95% <0%> (+0.56%) ⬆️

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 4033c55...e1c2466. Read the comment docs.

@brammool brammool closed this in dde403c Sep 17, 2017
@k-takata k-takata deleted the win32-use-call-in-vimtutor branch September 18, 2017 02:34
@a-kubik a-kubik mentioned this pull request Oct 5, 2017
adizero pushed a commit to adizero/vim that referenced this pull request May 19, 2018
Problem:    vimtutor.bat doesn't work well with vim.bat.
Solution:   Use "call vim". (Ken Takata, closes vim#2105)
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.

2 participants