mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
vim-patch:7.4.830
Problem: Resetting 'encoding' when doing ":set all&" causes problems.
(Bjorn Linse) Display is not updated.
Solution: Do not reset 'encoding'. Do a full redraw.
b341dda575
---
":set all&" does not reset 'encoding' in neovim.
This commit is contained in:
@@ -1150,9 +1150,10 @@ do_set (
|
|||||||
*/
|
*/
|
||||||
arg += 3;
|
arg += 3;
|
||||||
if (*arg == '&') {
|
if (*arg == '&') {
|
||||||
++arg;
|
arg++;
|
||||||
/* Only for :set command set global value of local options. */
|
// Only for :set command set global value of local options.
|
||||||
set_options_default(OPT_FREE | opt_flags);
|
set_options_default(OPT_FREE | opt_flags);
|
||||||
|
redraw_all_later(CLEAR);
|
||||||
} else {
|
} else {
|
||||||
showoptions(1, opt_flags);
|
showoptions(1, opt_flags);
|
||||||
did_show = TRUE;
|
did_show = TRUE;
|
||||||
|
@@ -458,7 +458,7 @@ static int included_patches[] = {
|
|||||||
// 833,
|
// 833,
|
||||||
// 832,
|
// 832,
|
||||||
// 831,
|
// 831,
|
||||||
// 830,
|
830,
|
||||||
// 829 NA
|
// 829 NA
|
||||||
828,
|
828,
|
||||||
// 827,
|
// 827,
|
||||||
|
Reference in New Issue
Block a user