Skip to content

Commit f1749a2

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents f6cabb1 + 0937b9f commit f1749a2

File tree

107 files changed

+995
-749
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+995
-749
lines changed

.appveyor.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ environment:
77
- FEATURE: HUGE
88
# disabled
99
# - FEATURE: TINY
10-
# - FEATURE: SMALL
1110
# - FEATURE: NORMAL
1211
# - FEATURE: BIG
1312

.cirrus.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,17 @@ macos_task:
3030
name: macOS m1
3131
macos_instance:
3232
image: ghcr.io/cirruslabs/macos-ventura-xcode:latest
33+
env:
34+
# only run with clang, gcc is not real, it is a link to clang
35+
CC: clang
3336
timeout_in: 20m
3437
install_script:
35-
- uname -a
3638
- brew update
3739
- brew install gettext libtool
3840
build_script:
3941
- NPROC=$(getconf _NPROCESSORS_ONLN)
4042
- ./configure --with-features=${FEATURES}
41-
- make -j${NPROC} CC=clang
43+
- make -j${NPROC}
4244
test_script:
4345
- src/vim --version
44-
- make CC=clang test
46+
- make test

runtime/doc/cmdline.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,6 @@ Also see |`=|.
11241124
In the command-line window the command line can be edited just like editing
11251125
text in any window. It is a special kind of window, because you cannot leave
11261126
it in a normal way.
1127-
{not available when compiled without the |+cmdwin| feature}
11281127

11291128

11301129
OPEN *c_CTRL-F* *q:* *q/* *q?*

runtime/doc/options.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2971,6 +2971,9 @@ A jump table for the options with a short description can be found at |Q_op|.
29712971
When neither "lastline" nor "truncate" is included, a last line that
29722972
doesn't fit is replaced with "@" lines.
29732973

2974+
The "@" character can be changed by setting the "lastline" item in
2975+
'fillchars'. The character is highlighted with |hl-NonText|.
2976+
29742977
*'eadirection'* *'ead'*
29752978
'eadirection' 'ead' string (default "both")
29762979
global
@@ -3435,6 +3438,7 @@ A jump table for the options with a short description can be found at |Q_op|.
34353438
foldsep '|' open fold middle character
34363439
diff '-' deleted lines of the 'diff' option
34373440
eob '~' empty lines below the end of a buffer
3441+
lastline '@' 'display' contains lastline/truncate
34383442

34393443
Any one that is omitted will fall back to the default. For "stl" and
34403444
"stlnc" the space will be used when there is highlighting, '^' or '='
@@ -3457,6 +3461,7 @@ A jump table for the options with a short description can be found at |Q_op|.
34573461
fold Folded |hl-Folded|
34583462
diff DiffDelete |hl-DiffDelete|
34593463
eob EndOfBuffer |hl-EndOfBuffer|
3464+
lastline NonText |hl-NonText|
34603465

34613466
*'fixendofline'* *'fixeol'* *'nofixendofline'* *'nofixeol'*
34623467
'fixendofline' 'fixeol' boolean (default on)

runtime/doc/various.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,14 +349,14 @@ T *++builtin_terms* maximal terminals builtin |builtin-terms| Always
349349
N *+byte_offset* support for 'o' flag in 'statusline' option, "go"
350350
and ":goto" commands.
351351
m *+channel* inter process communication |channel|
352-
6 *+cindent* |'cindent'|, C indenting
352+
T *+cindent* |'cindent'|, C indenting; Always enabled
353353
N *+clientserver* Unix and Win32: Remote invocation |clientserver|
354354
*+clipboard* |clipboard| support compiled-in
355355
*+clipboard_working* |clipboard| support compiled-in and working
356356
T *+cmdline_compl* command line completion |cmdline-completion|
357357
T *+cmdline_hist* command line history |cmdline-history|
358358
N *+cmdline_info* |'showcmd'| and |'ruler'|
359-
S *+cmdwin* |cmdline-window| support
359+
T *+cmdwin* |cmdline-window| support; Always enabled since 9.0.0657
360360
T *+comments* |'comments'| support
361361
B *+conceal* "conceal" support, see |conceal| |:syn-conceal| etc.
362362
N *+cryptv* encryption support |encryption|

runtime/synmenu.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def SetSyn(name: string)
1414
filetype = "fvwm"
1515
endif
1616
if name == "whitespace"
17-
" do not replace the filetype but add whitespace on top
17+
# do not replace the filetype but add whitespace on top
1818
filetype = &ft .. ".whitespace"
1919
endif
2020
if !exists("s:syntax_menu_synonly")

runtime/tools/unicode.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,8 @@ func! BuildCombiningTable()
158158
let end = -1
159159
let ranges = []
160160
for p in s:dataprops
161-
if p[2] == 'Mn' || p[2] == 'Mc' || p[2] == 'Me'
161+
" The 'Mc' property was removed, it does take up space.
162+
if p[2] == 'Mn' || p[2] == 'Me'
162163
let n = ('0x' . p[0]) + 0
163164
if start >= 0 && end + 1 == n
164165
" continue with same range.

src/INSTALLvms.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,7 @@ from CVS mirror ftp://ftp.polarhome.com/pub/cvs/SOURCE/
7777

7878
Parameter name : MODEL
7979
Description : Build model selection
80-
Options: : TINY - Almost no features enabled, not even
81-
multiple windows
82-
SMALL - Few features enabled, as basic as possible
80+
Options: : TINY - No optional features enabled
8381
NORMAL - A default selection of features enabled
8482
BIG - Many features enabled, as rich as possible.
8583
(OpenVMS default)

src/Make_ami.mak

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ CFLAGS +=\
4545
-DFEAT_NORMAL
4646
else
4747

48-
# Vim 'small' build
48+
# Vim 'small' build - now an alias for 'tiny'
4949
ifeq ($(BUILD),small)
50-
CFLAGS += -DFEAT_SMALL
50+
CFLAGS += -DFEAT_TINY
5151
else
5252

5353
# Vim 'tiny' build

src/Make_cyg_ming.mak

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
# Updated 2014 Oct 13.
2929

3030
#>>>>> choose options:
31-
# FEATURES=[TINY | SMALL | NORMAL | BIG | HUGE]
32-
# Set to TINY to make minimal version (few features).
31+
# FEATURES=[TINY | NORMAL | BIG | HUGE]
32+
# Set to TINY to make a minimal version (no optional features).
3333
FEATURES=HUGE
3434

3535
# Set to yes for a debug build.

src/Make_mvc.mak

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#
1717
# !!!! After changing any features do "nmake clean" first !!!!
1818
#
19-
# Feature Set: FEATURES=[TINY, SMALL, NORMAL, BIG, HUGE] (default is HUGE)
19+
# Feature Set: FEATURES=[TINY, NORMAL, BIG, HUGE] (default is HUGE)
2020
#
2121
# Name to add to the version: MODIFIED_BY=[name of modifier]
2222
#
@@ -1124,7 +1124,7 @@ CFLAGS = $(CFLAGS) -DMSWINPS
11241124
!endif # POSTSCRIPT
11251125

11261126
#
1127-
# FEATURES: TINY, SMALL, NORMAL, BIG or HUGE
1127+
# FEATURES: TINY, NORMAL, BIG or HUGE
11281128
#
11291129
CFLAGS = $(CFLAGS) -DFEAT_$(FEATURES)
11301130

src/Make_vms.mms

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
DECC = YES
2828

2929
# Build model selection
30-
# TINY - Almost no features enabled, not even multiple windows
31-
# SMALL - Few features enabled, as basic as possible
30+
# TINY - No optional features enabled
3231
# NORMAL - A default selection of features enabled
3332
# BIG - Many features enabled, as rich as possible. (default)
3433
# HUGE - All possible features enabled.

src/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ CClink = $(CC)
386386
# "liblua5.4-dev".
387387
# Use --with-luajit if you want to use LuaJIT instead of Lua.
388388
# Set PATH environment variable to find lua or luajit executable.
389-
# This requires at least "normal" features, "tiny" and "small" don't work.
389+
# This requires at least "normal" features, "tiny" doesn't work.
390390
#CONF_OPT_LUA = --enable-luainterp
391391
#CONF_OPT_LUA = --enable-luainterp=dynamic
392392
#CONF_OPT_LUA = --enable-luainterp --with-luajit
@@ -415,14 +415,14 @@ CClink = $(CC)
415415
# the next line.
416416
# When you get an error for a missing "perl.exp" file, try creating an empty
417417
# one: "touch perl.exp".
418-
# This requires at least "normal" features, "tiny" and "small" don't work.
418+
# This requires at least "normal" features, "tiny" doesn't work.
419419
#CONF_OPT_PERL = --enable-perlinterp
420420
#CONF_OPT_PERL = --enable-perlinterp=dynamic
421421

422422
# PYTHON
423423
# Uncomment lines here when you want to include the Python interface.
424424
# Debian package is "libpython3-dev".
425-
# This requires at least "normal" features, "tiny" and "small" don't work.
425+
# This requires at least "normal" features, "tiny" doesn't work.
426426
# Python 3 is preferred, Python 2 (often referred to as "Python") has been
427427
# deprecated for a long time.
428428
# NOTE: This may cause threading to be enabled, which has side effects (such
@@ -444,7 +444,7 @@ CClink = $(CC)
444444
# Uncomment this when you want to include the Ruby interface.
445445
# First one for static linking, second one for loading when used.
446446
# Debian package is "ruby-dev".
447-
# This requires at least "normal" features, "tiny" and "small" don't work.
447+
# This requires at least "normal" features, "tiny" doesn't work.
448448
#CONF_OPT_RUBY = --enable-rubyinterp
449449
#CONF_OPT_RUBY = --enable-rubyinterp=dynamic
450450
#CONF_OPT_RUBY = --enable-rubyinterp --with-ruby-command=ruby1.9.1
@@ -453,6 +453,7 @@ CClink = $(CC)
453453
# Uncomment this when you want to include the Tcl interface.
454454
# First one is for static linking, second one for dynamic loading.
455455
# Debian package is "tcl-dev".
456+
# This requires at least "normal" features, "tiny" doesn't work.
456457
#CONF_OPT_TCL = --enable-tclinterp
457458
#CONF_OPT_TCL = --enable-tclinterp=dynamic
458459
#CONF_OPT_TCL = --enable-tclinterp --with-tclsh=tclsh8.4
@@ -530,7 +531,6 @@ CClink = $(CC)
530531
# Uncomment one of these lines when you want to include few to many features.
531532
# The default is "huge" for most systems.
532533
#CONF_OPT_FEAT = --with-features=tiny
533-
#CONF_OPT_FEAT = --with-features=small
534534
#CONF_OPT_FEAT = --with-features=normal
535535
#CONF_OPT_FEAT = --with-features=big
536536
#CONF_OPT_FEAT = --with-features=huge

src/arglist.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,13 +1186,11 @@ do_arg_all(
11861186
tabpage_T *last_curtab;
11871187
int prev_arglist_locked = arglist_locked;
11881188

1189-
#ifdef FEAT_CMDWIN
11901189
if (cmdwin_type != 0)
11911190
{
11921191
emsg(_(e_invalid_in_cmdline_window));
11931192
return;
11941193
}
1195-
#endif
11961194
if (ARGCOUNT <= 0)
11971195
{
11981196
// Don't give an error message. We don't want it when the ":all"

src/auto/configure

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,7 @@ Optional Packages:
15331533
--with-view-name=NAME what to call the View executable
15341534
--with-global-runtime=DIR global runtime directory in 'runtimepath', comma-separated for multiple directories
15351535
--with-modified-by=NAME name of who modified a release version
1536-
--with-features=TYPE tiny, small, normal, big or huge (default: huge)
1536+
--with-features=TYPE tiny, normal, big or huge (default: huge)
15371537
--with-compiledby=NAME name to show in :version message
15381538
--with-lua-prefix=PFX Prefix where Lua is installed.
15391539
--with-luajit Link with LuaJIT instead of Lua.
@@ -5296,12 +5296,14 @@ $as_echo "Defaulting to huge" >&6; }
52965296
fi
52975297

52985298

5299+
case "$features" in
5300+
small) features="tiny" ;;
5301+
esac
5302+
52995303
dovimdiff=""
53005304
dogvimdiff=""
53015305
case "$features" in
53025306
tiny) $as_echo "#define FEAT_TINY 1" >>confdefs.h
5303-
;;
5304-
small) $as_echo "#define FEAT_SMALL 1" >>confdefs.h
53055307
;;
53065308
normal) $as_echo "#define FEAT_NORMAL 1" >>confdefs.h
53075309
dovimdiff="installvimdiff";
@@ -5319,7 +5321,7 @@ esac
53195321

53205322

53215323

5322-
if test "x$features" = "xtiny" -o "x$features" = "xsmall"; then
5324+
if test "x$features" = "xtiny"; then
53235325
has_eval=no
53245326
else
53255327
has_eval=yes
@@ -5377,7 +5379,7 @@ fi
53775379

53785380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking diff feature" >&5
53795381
$as_echo_n "checking diff feature... " >&6; }
5380-
if test "x$features" = "xtiny" -o "x$features" = "xsmall"; then
5382+
if test "x$features" = "xtiny"; then
53815383
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled in $features version" >&5
53825384
$as_echo "disabled in $features version" >&6; }
53835385
else
@@ -5403,7 +5405,7 @@ $as_echo "$enable_luainterp" >&6; }
54035405

54045406
if test "$enable_luainterp" = "yes" -o "$enable_luainterp" = "dynamic"; then
54055407
if test "$has_eval" = "no"; then
5406-
as_fn_error $? "cannot use Lua with tiny or small features" "$LINENO" 5
5408+
as_fn_error $? "cannot use Lua with tiny features" "$LINENO" 5
54075409
fi
54085410

54095411

@@ -6187,7 +6189,7 @@ fi
61876189
$as_echo "$enable_perlinterp" >&6; }
61886190
if test "$enable_perlinterp" = "yes" -o "$enable_perlinterp" = "dynamic"; then
61896191
if test "$has_eval" = "no"; then
6190-
as_fn_error $? "cannot use Perl with tiny or small features" "$LINENO" 5
6192+
as_fn_error $? "cannot use Perl with tiny features" "$LINENO" 5
61916193
fi
61926194

61936195
# Extract the first word of "perl", so it can be a program name with args.
@@ -6405,7 +6407,7 @@ fi
64056407
$as_echo "$enable_pythoninterp" >&6; }
64066408
if test "$enable_pythoninterp" = "yes" -o "$enable_pythoninterp" = "dynamic"; then
64076409
if test "$has_eval" = "no"; then
6408-
as_fn_error $? "cannot use Python with tiny or small features" "$LINENO" 5
6410+
as_fn_error $? "cannot use Python with tiny features" "$LINENO" 5
64096411
fi
64106412

64116413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-python-command argument" >&5
@@ -6763,7 +6765,7 @@ fi
67636765
$as_echo "$enable_python3interp" >&6; }
67646766
if test "$enable_python3interp" = "yes" -o "$enable_python3interp" = "dynamic"; then
67656767
if test "$has_eval" = "no"; then
6766-
as_fn_error $? "cannot use Python with tiny or small features" "$LINENO" 5
6768+
as_fn_error $? "cannot use Python with tiny features" "$LINENO" 5
67676769
fi
67686770

67696771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-python3-command argument" >&5
@@ -7736,7 +7738,7 @@ fi
77367738
$as_echo "$enable_rubyinterp" >&6; }
77377739
if test "$enable_rubyinterp" = "yes" -o "$enable_rubyinterp" = "dynamic"; then
77387740
if test "$has_eval" = "no"; then
7739-
as_fn_error $? "cannot use Ruby with tiny or small features" "$LINENO" 5
7741+
as_fn_error $? "cannot use Ruby with tiny features" "$LINENO" 5
77407742
fi
77417743

77427744
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking --with-ruby-command argument" >&5
@@ -7941,8 +7943,8 @@ fi
79417943

79427944
if test "$enable_netbeans" = "yes"; then
79437945
if test "$has_eval" = "no"; then
7944-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot use NetBeans with tiny or small features" >&5
7945-
$as_echo "cannot use NetBeans with tiny or small features" >&6; }
7946+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot use NetBeans with tiny features" >&5
7947+
$as_echo "cannot use NetBeans with tiny features" >&6; }
79467948
enable_netbeans="no"
79477949
else
79487950
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
@@ -7964,8 +7966,8 @@ fi
79647966

79657967
if test "$enable_channel" = "yes"; then
79667968
if test "$has_eval" = "no"; then
7967-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot use channels with tiny or small features" >&5
7968-
$as_echo "cannot use channels with tiny or small features" >&6; }
7969+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot use channels with tiny features" >&5
7970+
$as_echo "cannot use channels with tiny features" >&6; }
79697971
enable_channel="no"
79707972
else
79717973
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
@@ -8268,8 +8270,8 @@ fi
82688270

82698271
if test "$enable_terminal" = "yes" || test "$enable_terminal" = "auto" -a "x$features" = "xhuge" ; then
82708272
if test "$has_eval" = "no"; then
8271-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot use terminal emulator with tiny or small features" >&5
8272-
$as_echo "cannot use terminal emulator with tiny or small features" >&6; }
8273+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot use terminal emulator with tiny features" >&5
8274+
$as_echo "cannot use terminal emulator with tiny features" >&6; }
82738275
enable_terminal="no"
82748276
else
82758277
if test "$enable_terminal" = "auto"; then
@@ -13132,8 +13134,8 @@ $as_echo "Defaulting to no" >&6; }
1313213134
fi
1313313135
else
1313413136
if test "$enable_canberra" = "yes" -a "$has_eval" = "no"; then
13135-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot use sound with tiny or small features" >&5
13136-
$as_echo "cannot use sound with tiny or small features" >&6; }
13137+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot use sound with tiny features" >&5
13138+
$as_echo "cannot use sound with tiny features" >&6; }
1313713139
enable_canberra="no"
1313813140
else
1313913141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_canberra" >&5
@@ -14977,7 +14979,7 @@ rm -f core conftest.err conftest.$ac_objext \
1497714979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: msgfmt not found - disabled" >&5
1497814980
$as_echo "msgfmt not found - disabled" >&6; };
1497914981
fi
14980-
if test $have_gettext = "yes" -a "x$features" != "xtiny" -a "x$features" != "xsmall"; then
14982+
if test $have_gettext = "yes" -a "x$features" != "xtiny"; then
1498114983
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
1498214984

1498314985
MAKEMO=yes

src/change.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,10 @@ changed_bytes(linenr_T lnum, colnr_T col)
713713
// When text has been changed at the end of the line, possibly the start of
714714
// the next line may have SpellCap that should be removed or it needs to be
715715
// displayed. Schedule the next line for redrawing just in case.
716-
if (spell_check_window(curwin) && lnum < curbuf->b_ml.ml_line_count)
716+
// Don't do this when displaying '$' at the end of changed text.
717+
if (spell_check_window(curwin)
718+
&& lnum < curbuf->b_ml.ml_line_count
719+
&& vim_strchr(p_cpo, CPO_DOLLAR) == NULL)
717720
redrawWinline(curwin, lnum + 1);
718721
#endif
719722
#ifdef FEAT_DIFF

src/config.h.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,9 +319,6 @@
319319
/* Define if you want tiny features. */
320320
#undef FEAT_TINY
321321

322-
/* Define if you want small features. */
323-
#undef FEAT_SMALL
324-
325322
/* Define if you want normal features. */
326323
#undef FEAT_NORMAL
327324

0 commit comments

Comments
 (0)