Skip to content
View gist:70305daecfc78a5a82d8fe77416c1a23
diff --git a/src/gui_w32.c b/src/gui_w32.c
index b2ee9ca..0679ed2 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -2218,7 +2218,7 @@ gui_mch_wait_for_chars(int wtime)
parse_queued_messages();
if (pPeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE)
- || MsgWaitForMultipleObjects(0, NULL, FALSE, 100, QS_ALLEVENTS)
+ || MsgWaitForMultipleObjects(0, NULL, FALSE, 100, QS_ALLINPUT)
View gist:f70b5b3a8f11ae2bf7c72aa8cc1a84f0
diff --git a/src/eval.c b/src/eval.c
index 9f6db31..4e9f45f 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -11368,7 +11368,9 @@ f_feedkeys(typval_T *argvars, typval_T *rettv UNUSED)
/* Avoid a 1 second delay when the keys start Insert mode. */
msg_scroll = FALSE;
+ ++ex_normal_busy;
exec_normal(TRUE);
View gist:4ac2c12698156a5e2285129838cf674d
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 26f4219..1f19c88 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -10068,7 +10068,9 @@ exec_normal(int was_typed)
&& typebuf.tb_len > 0)) && !got_int)
{
update_topline_cursor();
+ ++ex_normal_busy;
normal_cmd(&oa, TRUE); /* execute a Normal mode cmd */
View omniwrap.vim
let s:wrap = {}
let s:last = ''
function! s:omniwrap(name)
if has_key(s:wrap, &ft)
let s:wrap[&ft] = []
endif
if index(s:wrap[&ft], a:name) == -1
call add(s:wrap[&ft], a:name)
endif
View gist:39dc97d6baed97321b9e
diff --git a/harness/build.go b/harness/build.go
index 31241e7..b52ec92 100755
--- a/harness/build.go
+++ b/harness/build.go
@@ -5,7 +5,6 @@ import (
"go/build"
"os"
"os/exec"
- "path"
"path/filepath"
View gist:24ec762c490e66d5f70a
diff --git a/src/screen.c b/src/screen.c
index 9d854a2..d12068e 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -2984,6 +2984,9 @@ win_line(
int change_start = MAXCOL; /* first col of changed area */
int change_end = -1; /* last col of changed area */
#endif
+#ifdef LINE_ATTR
+ int linehl_attr = (hlf_T)0; /* type of linehl highlighting */
View gist:5300623003d6d2c4563d
diff --git a/runtime/tools/unicode.vim b/runtime/tools/unicode.vim
index dfe9cef..4b4e56f 100644
--- a/runtime/tools/unicode.vim
+++ b/runtime/tools/unicode.vim
@@ -32,8 +32,8 @@ func! ParseFoldProps()
if line !~ '^#' && line !~ '^\s*$'
let l = split(line, '\s*;\s*', 1)
if len(l) != 4
- echoerr 'Found ' . len(l) . ' items in line ' . lnum . ', expected 4'
- return
View gist:cf8c6de760a33dbc3a28
diff --git a/src/mbyte.c b/src/mbyte.c
index 313db76..b51c27d 100644
--- a/src/mbyte.c
+++ b/src/mbyte.c
@@ -179,6 +179,156 @@ static char utf8len_tab_zero[256] =
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,6,6,0,0,
};
+#ifdef FEAT_MBYTE
+struct interval
View gist:c24b703e8ff23691f967
diff --git a/src/eval.c b/src/eval.c
index 6280323..b9eb792 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -23894,6 +23894,12 @@ trans_function_name(
*pp = end;
}
else
+ if (lv.ll_tv->v_type == VAR_PARTIAL && lv.ll_tv->vval.v_string != NULL)
+ {
View gist:394e8a95be26d9c7bce9
diff --git a/src/eval.c b/src/eval.c
index 5069324..7bdf7bb 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -867,7 +867,7 @@ static int valid_varname(char_u *varname);
static int tv_check_lock(int lock, char_u *name, int use_gettext);
static int item_copy(typval_T *from, typval_T *to, int deep, int copyID);
static char_u *find_option_end(char_u **arg, int *opt_flags);
-static char_u *trans_function_name(char_u **pp, int skip, int flags, funcdict_T *fd);
+static char_u *trans_function_name(char_u **pp, int skip, int flags, funcdict_T *fd, partial_T **partial);
Something went wrong with that request. Please try again.