diff options
| author | Famiu Haque <famiuhaque@proton.me> | 2023-12-23 10:56:58 +0600 |
|---|---|---|
| committer | Famiu Haque <famiuhaque@proton.me> | 2023-12-24 11:22:25 +0600 |
| commit | 547ccc2681b204b3cb37b1b1fbe72baf21ca6660 (patch) | |
| tree | c4291078979de3054043bbb42e5bc9db0f8679ff /src/nvim/options.lua | |
| parent | 8f72987837ce15156704f54951224de4ae36741d (diff) | |
| download | rneovim-547ccc2681b204b3cb37b1b1fbe72baf21ca6660.tar.gz rneovim-547ccc2681b204b3cb37b1b1fbe72baf21ca6660.tar.bz2 rneovim-547ccc2681b204b3cb37b1b1fbe72baf21ca6660.zip | |
refactor(options): remove side effects from `check_num_option_bounds()`
Diffstat (limited to 'src/nvim/options.lua')
| -rw-r--r-- | src/nvim/options.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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', |