summaryrefslogtreecommitdiff
path: root/src/evalfunc.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-11-12 19:21:51 +0100
committerBram Moolenaar <Bram@vim.org>2017-11-12 19:21:51 +0100
commite42a6d250907e278707753d7d1ba91ffc2471db0 (patch)
tree41b5779ede7d485fbe51fa4feb03cfebf089d516 /src/evalfunc.c
parent2f27aab8e68c48a1b8a51715e1009d572f8e13b5 (diff)
downloadvim-git-e42a6d250907e278707753d7d1ba91ffc2471db0.tar.gz
patch 8.0.1295: cannot automatically get a server name in a terminalv8.0.1295
Problem: Cannot automatically get a server name in a terminal. Solution: Add the --enable-autoservername flag to configure. (Cimbali, closes #2317)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r--src/evalfunc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 5e22fe4bc..1991aa7c6 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -5580,6 +5580,9 @@ f_has(typval_T *argvars, typval_T *rettv)
#ifdef FEAT_AUTOCMD
"autocmd",
#endif
+#ifdef FEAT_AUTOSERVERNAME
+ "autoservername",
+#endif
#ifdef FEAT_BEVAL
"balloon_eval",
# ifndef FEAT_GUI_W32 /* other GUIs always have multiline balloons */