diff options
author | Thomas Vigouroux <tomvig38@gmail.com> | 2020-09-24 09:10:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-24 09:10:52 +0200 |
commit | b9ceac4650a7d7b731828a4fb82b92d01e88752b (patch) | |
tree | 3727841c4d139c51313c6d6d74b9c2fd28bbce1c /src/nvim/syntax.c | |
parent | 4f8d98e583beb4c1abd5d57b9898548396633030 (diff) | |
parent | ca28cf5362c9f8cfcc60e28e20c2d455c5c37c77 (diff) | |
download | rneovim-b9ceac4650a7d7b731828a4fb82b92d01e88752b.tar.gz rneovim-b9ceac4650a7d7b731828a4fb82b92d01e88752b.tar.bz2 rneovim-b9ceac4650a7d7b731828a4fb82b92d01e88752b.zip |
Merge pull request #12955 from vigoux/vim-8.2.0953
[RFC] vim-patch:8.2.{0953,0955,0956,1678}
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r-- | src/nvim/syntax.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c index 4aa7c21ce4..9a9cc45c6b 100644 --- a/src/nvim/syntax.c +++ b/src/nvim/syntax.c @@ -5588,9 +5588,11 @@ void ex_ownsyntax(exarg_T *eap) hash_init(&curwin->w_s->b_keywtab_ic); // TODO: Keep the spell checking as it was. NOLINT(readability/todo) curwin->w_p_spell = false; // No spell checking + // make sure option values are "empty_option" instead of NULL clear_string_option(&curwin->w_s->b_p_spc); clear_string_option(&curwin->w_s->b_p_spf); clear_string_option(&curwin->w_s->b_p_spl); + clear_string_option(&curwin->w_s->b_p_spo); clear_string_option(&curwin->w_s->b_syn_isk); } |