mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
syntax: Fix linter error
This commit is contained in:
@@ -5538,7 +5538,7 @@ void ex_ownsyntax(exarg_T *eap)
|
|||||||
set_internal_string_var((char_u *)"w:current_syntax", new_value);
|
set_internal_string_var((char_u *)"w:current_syntax", new_value);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* restore value of b:current_syntax */
|
// Restore value of b:current_syntax.
|
||||||
if (old_value == NULL) {
|
if (old_value == NULL) {
|
||||||
do_unlet(S_LEN("b:current_syntax"), true);
|
do_unlet(S_LEN("b:current_syntax"), true);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user