summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-02-22 21:25:37 +0000
committerBram Moolenaar <Bram@vim.org>2006-02-22 21:25:37 +0000
commitd1f56e68f1315687ff5b913e2577f11b0b620573 (patch)
treeadbac0a00c07ee933058543eb3f251a83e707624 /src/term.c
parent238a564935abe36832b267f32b5487556c640d00 (diff)
downloadvim-git-d1f56e68f1315687ff5b913e2577f11b0b620573.tar.gz
updated for version 7.0204v7.0204
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c
index 94125a8fe..f9d6d2dd9 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1562,6 +1562,9 @@ set_color_count(nr)
else
*nr_colors = NUL;
set_string_option_direct((char_u *)"t_Co", -1, nr_colors, OPT_FREE);
+# ifdef FEAT_EVAL
+ set_option_scriptID((char_u *)"t_Co", current_SID);
+# endif
}
#endif
@@ -2501,6 +2504,9 @@ termcapinit(name)
if (term == NULL || *term == NUL)
term = DEFAULT_TERM;
set_string_option_direct((char_u *)"term", -1, term, OPT_FREE);
+# ifdef FEAT_EVAL
+ set_option_scriptID((char_u *)"term", current_SID);
+# endif
/* Set the default terminal name. */
set_string_default("term", term);