diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-02-03 18:08:09 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-02-03 18:08:09 +0100 |
commit | eac3fdcfa0b54281c37ffb66b4d4e8d1072cca1c (patch) | |
tree | 5cae81a11d47036ff5759494686d3aee646eb331 /src/option.c | |
parent | 0c989e4a3ae50085aa8c6bed5d6701760191bc1d (diff) |
patch 9.1.0074: did_set_breakat() should be in optionstr.cv9.1.0074
Problem: did_set_breakat() should be in optionstr.c as 'breakat' is a
string option.
Solution: Move did_set_breakat() to optionstr.c.
(zeertzjq)
closes: #13958
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/option.c b/src/option.c index 92ed1ec2a5..f0e77270a4 100644 --- a/src/option.c +++ b/src/option.c @@ -3269,27 +3269,6 @@ did_set_binary(optset_T *args) return NULL; } -#if defined(FEAT_LINEBREAK) || defined(PROTO) -/* - * Called when the 'breakat' option changes value. - */ - char * -did_set_breakat(optset_T *args UNUSED) -{ - char_u *p; - int i; - - for (i = 0; i < 256; i++) - breakat_flags[i] = FALSE; - - if (p_breakat != NULL) - for (p = p_breakat; *p; p++) - breakat_flags[*p] = TRUE; - - return NULL; -} -#endif - /* * Process the updated 'buflisted' option value. */ |