Mercurial > vim
comparison src/spell.c @ 31859:8b15e4161605 v9.0.1262
patch 9.0.1262: the did_set_string_option function is too long
Commit: https://github.com/vim/vim/commit/f2e30d0c448b9754d0d4daa901b51fbbf4c30747
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Mon Jan 30 13:04:42 2023 +0000
patch 9.0.1262: the did_set_string_option function is too long
Problem: The did_set_string_option function is too long.
Solution: Split off functionality to individual functions. (Yegappan
Lakshmanan, Lewis Russell, closes #11904)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 30 Jan 2023 14:15:05 +0100 |
parents | 543153d582d5 |
children | 9f28cca2410a |
comparison
equal
deleted
inserted
replaced
31858:42a6cf1933f9 | 31859:8b15e4161605 |
---|---|
4384 return FALSE; | 4384 return FALSE; |
4385 return TRUE; | 4385 return TRUE; |
4386 } | 4386 } |
4387 | 4387 |
4388 /* | 4388 /* |
4389 * Handle side effects of setting 'spell'. | 4389 * Handle side effects of setting 'spell' or 'spellfile' |
4390 * Return an error message or NULL for success. | 4390 * Return an error message or NULL for success. |
4391 */ | 4391 */ |
4392 char * | 4392 char * |
4393 did_set_spell_option(int is_spellfile) | 4393 did_set_spell_option(int is_spellfile) |
4394 { | 4394 { |