diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-14 14:17:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-14 14:17:45 +0100 |
commit | a4d158b3c839e96ed98ff87c7b7124ff4518c4ff (patch) | |
tree | 42d3a6b65d4ae53a6e078c8f24a5ee9960e3ad24 /src/if_lua.c | |
parent | 28c9f895716cfa8f1220bc41b72a534c0e10cabe (diff) |
patch 9.0.0206: redraw flags are not named specificallyv9.0.0206
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
Diffstat (limited to 'src/if_lua.c')
-rw-r--r-- | src/if_lua.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/if_lua.c b/src/if_lua.c index 250da02ae2..4463ac0693 100644 --- a/src/if_lua.c +++ b/src/if_lua.c @@ -1543,7 +1543,7 @@ luaV_buffer_insert(lua_State *L) else appended_lines_mark(n, 1L); curbuf = buf; - update_screen(VALID); + update_screen(UPD_VALID); return 0; } @@ -1645,7 +1645,7 @@ luaV_window_newindex(lua_State *L) if (v < 1 || v > w->w_buffer->b_ml.ml_line_count) luaL_error(L, "line out of range"); w->w_cursor.lnum = v; - update_screen(VALID); + update_screen(UPD_VALID); } else if (strncmp(s, "col", 3) == 0) { @@ -1654,7 +1654,7 @@ luaV_window_newindex(lua_State *L) #endif w->w_cursor.col = v - 1; w->w_set_curswant = TRUE; - update_screen(VALID); + update_screen(UPD_VALID); } else if (strncmp(s, "width", 5) == 0) { @@ -1914,7 +1914,7 @@ luaV_command(lua_State *L) execute_cmds_from_string(s); vim_free(s); - update_screen(VALID); + update_screen(UPD_VALID); return 0; } @@ -2661,7 +2661,7 @@ ex_luado(exarg_T *eap) } lua_pop(L, 1); // function check_cursor(); - update_screen(NOT_VALID); + update_screen(UPD_NOT_VALID); } void |