From 547ccc2681b204b3cb37b1b1fbe72baf21ca6660 Mon Sep 17 00:00:00 2001 From: Famiu Haque Date: Sat, 23 Dec 2023 10:56:58 +0600 Subject: refactor(options): remove side effects from `check_num_option_bounds()` --- src/nvim/options.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nvim/options.lua') diff --git a/src/nvim/options.lua b/src/nvim/options.lua index d599e0452d..8295483954 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -1269,6 +1269,7 @@ return { }, { abbreviation = 'co', + cb = 'did_set_lines_or_columns', defaults = { if_true = macros('DFLT_COLS'), doc = '80 or terminal width', @@ -4744,6 +4745,7 @@ return { type = 'boolean', }, { + cb = 'did_set_lines_or_columns', defaults = { if_true = macros('DFLT_ROWS'), doc = '24 or terminal height', -- cgit