mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
vim-patch:9.1.0804: tests: no error check when setting global 'cc'
Problem: tests: no error check when setting global 'cc'
Solution: also parse and check global 'cc' value (Milly)
closes: vim/vim#15914
a441a3eaab
Co-authored-by: Milly <milly.ca@gmail.com>
This commit is contained in:
@@ -898,7 +898,8 @@ int expand_set_clipboard(optexpand_T *args, int *numMatches, char ***matches)
|
||||
const char *did_set_colorcolumn(optset_T *args)
|
||||
{
|
||||
win_T *win = (win_T *)args->os_win;
|
||||
return check_colorcolumn(win);
|
||||
char **varp = (char **)args->os_varp;
|
||||
return check_colorcolumn(*varp, varp == &win->w_p_cc ? win : NULL);
|
||||
}
|
||||
|
||||
/// The 'comments' option is changed.
|
||||
|
Reference in New Issue
Block a user