aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-02-15 03:15:47 +0300
committerZyX <kp-pav@yandex.ru>2017-02-15 03:15:47 +0300
commit095e6cc2e098db110981e5f9ea4bbc0ce316cecb (patch)
treeb56f1f74b3c4f227218548e0aec606eeff80a920 /src/nvim/option.c
parentefa2682e3b513c4a33d987dc651db5913feff21a (diff)
downloadrneovim-095e6cc2e098db110981e5f9ea4bbc0ce316cecb.tar.gz
rneovim-095e6cc2e098db110981e5f9ea4bbc0ce316cecb.tar.bz2
rneovim-095e6cc2e098db110981e5f9ea4bbc0ce316cecb.zip
*: Fix linter errors
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index b1cbe3fb59..e697ab3f51 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -2570,10 +2570,10 @@ did_set_string_option (
init_highlight(FALSE, FALSE);
if (dark != (*p_bg == 'd') && get_var_value("g:colors_name") != NULL) {
- /* The color scheme must have set 'background' back to another
- * value, that's not what we want here. Disable the color
- * scheme and set the colors again. */
- do_unlet((char_u *)"g:colors_name", TRUE);
+ // The color scheme must have set 'background' back to another
+ // value, that's not what we want here. Disable the color
+ // scheme and set the colors again.
+ do_unlet((char_u *)"g:colors_name", true);
free_string_option(p_bg);
p_bg = vim_strsave((char_u *)(dark ? "dark" : "light"));
check_string_option(&p_bg);