Some checks failed
Detach Plugins / check (FlyGrep.vim) (push) Has been cancelled
Detach Plugins / check (GitHub.vim) (push) Has been cancelled
Detach Plugins / check (JavaUnit.vim) (push) Has been cancelled
Detach Plugins / check (SourceCounter.vim) (push) Has been cancelled
Detach Plugins / check (cpicker.nvim) (push) Has been cancelled
Detach Plugins / check (dein-ui.vim) (push) Has been cancelled
Detach Plugins / check (git.vim) (push) Has been cancelled
Detach Plugins / check (iedit.vim) (push) Has been cancelled
Detach Plugins / check (scrollbar.vim) (push) Has been cancelled
Detach Plugins / check (vim-chat) (push) Has been cancelled
Detach Plugins / check (vim-cheat) (push) Has been cancelled
Detach Plugins / check (vim-todo) (push) Has been cancelled
Detach Plugins / check (xmake.vim) (push) Has been cancelled
test / Linux (nvim, nightly) (push) Has been cancelled
test / Linux (nvim, v0.3.8) (push) Has been cancelled
test / Linux (nvim, v0.4.0) (push) Has been cancelled
test / Linux (nvim, v0.4.2) (push) Has been cancelled
test / Linux (nvim, v0.4.3) (push) Has been cancelled
test / Linux (nvim, v0.4.4) (push) Has been cancelled
test / Linux (nvim, v0.5.0) (push) Has been cancelled
test / Linux (nvim, v0.5.1) (push) Has been cancelled
test / Linux (nvim, v0.6.0) (push) Has been cancelled
test / Linux (nvim, v0.6.1) (push) Has been cancelled
test / Linux (nvim, v0.7.0) (push) Has been cancelled
test / Linux (nvim, v0.7.2) (push) Has been cancelled
test / Linux (nvim, v0.8.0) (push) Has been cancelled
test / Linux (nvim, v0.8.1) (push) Has been cancelled
test / Linux (nvim, v0.8.2) (push) Has been cancelled
test / Linux (nvim, v0.8.3) (push) Has been cancelled
test / Linux (nvim, v0.9.0) (push) Has been cancelled
test / Linux (nvim, v0.9.1) (push) Has been cancelled
test / Linux (true, vim, v7.4.052) (push) Has been cancelled
test / Linux (true, vim, v7.4.1689) (push) Has been cancelled
test / Linux (true, vim, v7.4.629) (push) Has been cancelled
test / Linux (true, vim, v8.0.0027) (push) Has been cancelled
test / Linux (true, vim, v8.0.0183) (push) Has been cancelled
test / Linux (vim, nightly) (push) Has been cancelled
test / Linux (vim, v8.0.0184) (push) Has been cancelled
test / Linux (vim, v8.0.1453) (push) Has been cancelled
test / Linux (vim, v8.1.2269) (push) Has been cancelled
test / Linux (vim, v8.2.2434) (push) Has been cancelled
test / Linux (vim, v8.2.3995) (push) Has been cancelled
test / Windows (nvim, nightly) (push) Has been cancelled
test / Windows (nvim, v0.3.8) (push) Has been cancelled
test / Windows (nvim, v0.4.2) (push) Has been cancelled
test / Windows (nvim, v0.4.3) (push) Has been cancelled
test / Windows (nvim, v0.4.4) (push) Has been cancelled
test / Windows (nvim, v0.5.0) (push) Has been cancelled
test / Windows (nvim, v0.5.1) (push) Has been cancelled
test / Windows (nvim, v0.6.0) (push) Has been cancelled
test / Windows (nvim, v0.6.1) (push) Has been cancelled
test / Windows (nvim, v0.7.0) (push) Has been cancelled
test / Windows (nvim, v0.7.2) (push) Has been cancelled
test / Windows (nvim, v0.8.0) (push) Has been cancelled
test / Windows (nvim, v0.8.1) (push) Has been cancelled
test / Windows (nvim, v0.8.2) (push) Has been cancelled
test / Windows (nvim, v0.8.3) (push) Has been cancelled
test / Windows (nvim, v0.9.0) (push) Has been cancelled
test / Windows (nvim, v0.9.1) (push) Has been cancelled
test / Windows (vim, nightly) (push) Has been cancelled
test / Windows (vim, v7.4.1185) (push) Has been cancelled
test / Windows (vim, v7.4.1689) (push) Has been cancelled
test / Windows (vim, v8.0.0027) (push) Has been cancelled
test / Windows (vim, v8.0.1453) (push) Has been cancelled
test / Windows (vim, v8.1.2269) (push) Has been cancelled
test / Windows (vim, v8.2.2434) (push) Has been cancelled
test / Windows (vim, v8.2.3995) (push) Has been cancelled
docker / docker (push) Has been cancelled
mirror / check (coding) (push) Has been cancelled
mirror / check (gitee) (push) Has been cancelled
mirror / check (gitlab) (push) Has been cancelled
109 lines
3.4 KiB
Diff
109 lines
3.4 KiB
Diff
diff -u src-orig\eval.c src-changed\eval.c
|
|
--- src-orig\eval.c Fri Jul 05 09:23:42 2013
|
|
+++ src-changed\eval.c Tue Oct 29 13:58:08 2013
|
|
@@ -358,6 +358,8 @@
|
|
{VV_NAME("searchforward", VAR_NUMBER), 0},
|
|
{VV_NAME("oldfiles", VAR_LIST), 0},
|
|
{VV_NAME("windowid", VAR_NUMBER), VV_RO},
|
|
+ {VV_NAME("foldhighlight", VAR_NUMBER), 0},
|
|
+ {VV_NAME("todohighlight", VAR_NUMBER), 0},
|
|
};
|
|
|
|
/* shorthand */
|
|
diff -u src-orig\screen.c src-changed\screen.c
|
|
--- src-orig\screen.c Sat Jul 13 03:23:00 2013
|
|
+++ src-changed\screen.c Tue Oct 29 13:52:39 2013
|
|
@@ -2374,6 +2374,9 @@
|
|
* 4. Compose the text
|
|
* 5. Add the text
|
|
* 6. set highlighting for the Visual area an other text
|
|
+ * NOTE: in patch for VimOrganizer step 4, composing text
|
|
+ * is moved up to happen as part of step 2.
|
|
+
|
|
*/
|
|
col = 0;
|
|
|
|
@@ -2432,9 +2435,15 @@
|
|
ScreenAttrs[off + (p) + ri] = v
|
|
#endif
|
|
|
|
- /* Set all attributes of the 'number' or 'relativenumber' column and the
|
|
- * text */
|
|
- RL_MEMSET(col, hl_attr(HLF_FL), W_WIDTH(wp) - col);
|
|
+ /*
|
|
+ * 4. Compose the folded-line string with 'foldtext', if set.
|
|
+ */
|
|
+ text = get_foldtext(wp, lnum, lnume, foldinfo, buf);
|
|
+
|
|
+ txtcol = col; /* remember where text starts */
|
|
+
|
|
+ /* Set all attributes of the 'number' column and the text */
|
|
+ RL_MEMSET(col, syn_id2attr(get_vim_var_nr(VV_FOLDHIGHLIGHT)), W_WIDTH(wp) - col);
|
|
|
|
#ifdef FEAT_SIGNS
|
|
/* If signs are being displayed, add two spaces. */
|
|
@@ -2449,10 +2458,10 @@
|
|
if (wp->w_p_rl)
|
|
/* the line number isn't reversed */
|
|
copy_text_attr(off + W_WIDTH(wp) - len - col,
|
|
- (char_u *)" ", len, hl_attr(HLF_FL));
|
|
+ (char_u *)" ", len, hl_attr(HLF_SC));
|
|
else
|
|
# endif
|
|
- copy_text_attr(off + col, (char_u *)" ", len, hl_attr(HLF_FL));
|
|
+ copy_text_attr(off + col, (char_u *)" ", len, hl_attr(HLF_SC));
|
|
col += len;
|
|
}
|
|
}
|
|
@@ -2494,20 +2503,31 @@
|
|
if (wp->w_p_rl)
|
|
/* the line number isn't reversed */
|
|
copy_text_attr(off + W_WIDTH(wp) - len - col, buf, len,
|
|
- hl_attr(HLF_FL));
|
|
+ hl_attr(HLF_N));
|
|
else
|
|
#endif
|
|
- copy_text_attr(off + col, buf, len, hl_attr(HLF_FL));
|
|
+ copy_text_attr(off + col, buf, len, hl_attr(HLF_N));
|
|
col += len;
|
|
}
|
|
}
|
|
+ /* now set attributes for vimorganizer todo word in headline, if any */
|
|
+ /* v:todohighlight is set in user's OrgFoldText() function. . . */
|
|
+ if (get_vim_var_nr(VV_TODOHIGHLIGHT) > 0 )
|
|
+ {
|
|
+ int start=0, end;
|
|
+
|
|
+ while( *(text + start) == ' ' )
|
|
+ start++;
|
|
+ end = start;
|
|
+ while( *(text + end) != ' ' )
|
|
+ end++;
|
|
+ RL_MEMSET(start+col, syn_id2attr(get_vim_var_nr(VV_TODOHIGHLIGHT)), end - start);
|
|
+ }
|
|
|
|
/*
|
|
* 4. Compose the folded-line string with 'foldtext', if set.
|
|
*/
|
|
- text = get_foldtext(wp, lnum, lnume, foldinfo, buf);
|
|
-
|
|
- txtcol = col; /* remember where text starts */
|
|
+ // moved up above to happen earlier h.s.
|
|
|
|
/*
|
|
* 5. move the text to current_ScreenLine. Fill up with "fill_fold".
|
|
diff -u src-orig\vim.h src-changed\vim.h
|
|
--- src-orig\vim.h Fri Aug 02 07:02:27 2013
|
|
+++ src-changed\vim.h Tue Oct 29 13:59:29 2013
|
|
@@ -1866,7 +1866,9 @@
|
|
#define VV_SEARCHFORWARD 53
|
|
#define VV_OLDFILES 54
|
|
#define VV_WINDOWID 55
|
|
-#define VV_LEN 56 /* number of v: vars */
|
|
+#define VV_FOLDHIGHLIGHT 56
|
|
+#define VV_TODOHIGHLIGHT 57
|
|
+#define VV_LEN 58 /* number of v: vars */
|
|
|
|
#ifdef FEAT_CLIPBOARD
|
|
|