diff options
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index f026663ae5..7242c2d925 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -5951,27 +5951,6 @@ set_option_value ( return NULL; } -/* - * Get the terminal code for a terminal option. - * Returns NULL when not found. - */ -char_u *get_term_code(char_u *tname) -{ - int opt_idx; - char_u *varp; - - if (tname[0] != 't' || tname[1] != '_' || - tname[2] == NUL || tname[3] == NUL) - return NULL; - if ((opt_idx = findoption(tname)) >= 0) { - varp = get_varp(&(options[opt_idx])); - if (varp != NULL) - varp = *(char_u **)(varp); - return varp; - } - return find_termcode(tname + 2); -} - char_u *get_highlight_default(void) { int i; @@ -7812,17 +7791,6 @@ int option_was_set(char_u *name) } /* - * Reset the flag indicating option "name" was set. - */ -void reset_option_was_set(char_u *name) -{ - int idx = findoption(name); - - if (idx >= 0) - options[idx].flags &= ~P_WAS_SET; -} - -/* * fill_breakat_flags() -- called when 'breakat' changes value. */ static void fill_breakat_flags(void) |