Skip to content

Commit 8466c74

Browse files
committed
updated for version 7.3.590
Problem: The '< and '> marks cannot be set directly. Solution: Allow setting '< and '>. (Christian Brabandt)
1 parent c173681 commit 8466c74

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

src/mark.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,19 @@ setmark_pos(c, pos, fnum)
9898
return OK;
9999
}
100100

101+
#ifdef FEAT_VISUAL
102+
if (c == '<')
103+
{
104+
curbuf->b_visual.vi_start = *pos;
105+
return OK;
106+
}
107+
if (c == '>')
108+
{
109+
curbuf->b_visual.vi_end = *pos;
110+
return OK;
111+
}
112+
#endif
113+
101114
#ifndef EBCDIC
102115
if (c > 'z') /* some islower() and isupper() cannot handle
103116
characters above 127 */

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,8 @@ static char *(features[]) =
714714

715715
static int included_patches[] =
716716
{ /* Add new patch number below this line */
717+
/**/
718+
590,
717719
/**/
718720
589,
719721
/**/

0 commit comments

Comments
 (0)