-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
installer: Fix default _vimrc settings #6451
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
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The installer didn't create the default _vimrc correctly when installed with the silent install mode (`/S`). The silent install mode doesn't call `SetCustom` and `ValidateCustom` functions, so set the default values in `.onInit`.
Codecov Report
@@ Coverage Diff @@
## master #6451 +/- ##
==========================================
+ Coverage 86.13% 88.16% +2.03%
==========================================
Files 143 144 +1
Lines 155706 159329 +3623
==========================================
+ Hits 134110 140465 +6355
+ Misses 21596 18864 -2732
Continue to review full report at Codecov.
|
janlazo
added a commit
to janlazo/neovim
that referenced
this pull request
Jul 14, 2020
Problem: Removed more than dead code. Solution: Put back the decrement. vim/vim@8455c5e N/A patch for version.c: vim-patch:8.2.1118: condition can never be true, dead code Problem: Condition can never be true, dead code. Solution: Remove the dead code. vim/vim@810af5e vim-patch:8.2.1214: MS-Windows: default _vimrc not correct in silent install mode Problem: MS-Windows: default _vimrc not correct in silent install mode. Solution: Add the LoadDefaultVimrc macro. (Ken Takata, closes vim/vim#6451) vim/vim@ceb56dd vim-patch:8.2.1215: Atari MiNT support is outdated Problem: Atari MiNT support is outdated. Solution: Nobody responded this code is still useful, so let's delete it. vim/vim@e3f915d
janlazo
added a commit
to janlazo/neovim
that referenced
this pull request
Jul 16, 2020
Problem: Removed more than dead code. Solution: Put back the decrement. vim/vim@8455c5e N/A patch for version.c: vim-patch:8.2.1118: condition can never be true, dead code Problem: Condition can never be true, dead code. Solution: Remove the dead code. vim/vim@810af5e vim-patch:8.2.1214: MS-Windows: default _vimrc not correct in silent install mode Problem: MS-Windows: default _vimrc not correct in silent install mode. Solution: Add the LoadDefaultVimrc macro. (Ken Takata, closes vim/vim#6451) vim/vim@ceb56dd vim-patch:8.2.1215: Atari MiNT support is outdated Problem: Atari MiNT support is outdated. Solution: Nobody responded this code is still useful, so let's delete it. vim/vim@e3f915d
janlazo
added a commit
to janlazo/neovim
that referenced
this pull request
Jul 19, 2020
Problem: Removed more than dead code. Solution: Put back the decrement. vim/vim@8455c5e N/A patch for version.c: vim-patch:8.2.1118: condition can never be true, dead code Problem: Condition can never be true, dead code. Solution: Remove the dead code. vim/vim@810af5e vim-patch:8.2.1214: MS-Windows: default _vimrc not correct in silent install mode Problem: MS-Windows: default _vimrc not correct in silent install mode. Solution: Add the LoadDefaultVimrc macro. (Ken Takata, closes vim/vim#6451) vim/vim@ceb56dd vim-patch:8.2.1215: Atari MiNT support is outdated Problem: Atari MiNT support is outdated. Solution: Nobody responded this code is still useful, so let's delete it. vim/vim@e3f915d
shlomif
pushed a commit
to shlomif/neovim
that referenced
this pull request
Jul 30, 2020
Problem: Removed more than dead code. Solution: Put back the decrement. vim/vim@8455c5e N/A patch for version.c: vim-patch:8.2.1118: condition can never be true, dead code Problem: Condition can never be true, dead code. Solution: Remove the dead code. vim/vim@810af5e vim-patch:8.2.1214: MS-Windows: default _vimrc not correct in silent install mode Problem: MS-Windows: default _vimrc not correct in silent install mode. Solution: Add the LoadDefaultVimrc macro. (Ken Takata, closes vim/vim#6451) vim/vim@ceb56dd vim-patch:8.2.1215: Atari MiNT support is outdated Problem: Atari MiNT support is outdated. Solution: Nobody responded this code is still useful, so let's delete it. vim/vim@e3f915d
farisachugthai
pushed a commit
to farisachugthai/neovim
that referenced
this pull request
Aug 4, 2020
Problem: Removed more than dead code. Solution: Put back the decrement. vim/vim@8455c5e N/A patch for version.c: vim-patch:8.2.1118: condition can never be true, dead code Problem: Condition can never be true, dead code. Solution: Remove the dead code. vim/vim@810af5e vim-patch:8.2.1214: MS-Windows: default _vimrc not correct in silent install mode Problem: MS-Windows: default _vimrc not correct in silent install mode. Solution: Add the LoadDefaultVimrc macro. (Ken Takata, closes vim/vim#6451) vim/vim@ceb56dd vim-patch:8.2.1215: Atari MiNT support is outdated Problem: Atari MiNT support is outdated. Solution: Nobody responded this code is still useful, so let's delete it. vim/vim@e3f915d
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The installer didn't create the default _vimrc correctly when installed
with the silent install mode (
/S
).The silent install mode doesn't call
SetCustom
andValidateCustom
functions, so, set the default values in
.onInit
function.