Skip to content

Commit a461cb6

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents b4bd0d3 + 889da2f commit a461cb6

Some content is hidden

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

62 files changed

+5547
-4878
lines changed

Filelist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ SRC_ALL = \
4949
src/gui_beval.c \
5050
src/hardcopy.c \
5151
src/hashtab.c \
52+
src/indent.c \
5253
src/json.c \
5354
src/json_test.c \
5455
src/kword_test.c \
@@ -175,6 +176,7 @@ SRC_ALL = \
175176
src/proto/gui_beval.pro \
176177
src/proto/hardcopy.pro \
177178
src/proto/hashtab.pro \
179+
src/proto/indent.pro \
178180
src/proto/json.pro \
179181
src/proto/list.pro \
180182
src/proto/main.pro \

runtime/doc/eval.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5745,6 +5745,11 @@ job_info([{job}]) *job_info()*
57455745
"exit_cb" function to be called on exit
57465746
"stoponexit" |job-stoponexit|
57475747

5748+
Only in Unix:
5749+
"termsig" the signal which terminated the process
5750+
(See |job_stop()| for the values)
5751+
only valid when "status" is "dead"
5752+
57485753
Without any arguments, returns a List with all Job objects.
57495754

57505755
job_setoptions({job}, {options}) *job_setoptions()*

runtime/doc/indent.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,13 @@ typing certain characters or commands in certain contexts. Note that this not
6060
only triggers C-indenting. When 'indentexpr' is not empty 'indentkeys' is
6161
used instead. The format of 'cinkeys' and 'indentkeys' is equal.
6262

63-
The default is "0{,0},0),:,0#,!^F,o,O,e" which specifies that indenting occurs
64-
as follows:
63+
The default is "0{,0},0),0],:,0#,!^F,o,O,e" which specifies that indenting
64+
occurs as follows:
6565

6666
"0{" if you type '{' as the first character in a line
6767
"0}" if you type '}' as the first character in a line
6868
"0)" if you type ')' as the first character in a line
69+
"0]" if you type ']' as the first character in a line
6970
":" if you type ':' after a label or case statement
7071
"0#" if you type '#' as the first character in a line
7172
"!^F" if you type CTRL-F (which is not inserted)

runtime/doc/options.txt

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1577,7 +1577,7 @@ A jump table for the options with a short description can be found at |Q_op|.
15771577
NOTE: This option is reset when 'compatible' is set.
15781578

15791579
*'cinkeys'* *'cink'*
1580-
'cinkeys' 'cink' string (default "0{,0},0),:,0#,!^F,o,O,e")
1580+
'cinkeys' 'cink' string (default "0{,0},0),0],:,0#,!^F,o,O,e")
15811581
local to buffer
15821582
{not in Vi}
15831583
{not available when compiled without the |+cindent|
@@ -4730,7 +4730,7 @@ A jump table for the options with a short description can be found at |Q_op|.
47304730

47314731

47324732
*'indentkeys'* *'indk'*
4733-
'indentkeys' 'indk' string (default "0{,0},:,0#,!^F,o,O,e")
4733+
'indentkeys' 'indk' string (default "0{,0},0),0],:,0#,!^F,o,O,e")
47344734
local to buffer
47354735
{not in Vi}
47364736
{not available when compiled without the |+cindent|
@@ -6751,14 +6751,18 @@ A jump table for the options with a short description can be found at |Q_op|.
67516751

67526752
*'scrolloff'* *'so'*
67536753
'scrolloff' 'so' number (default 0, set to 5 in |defaults.vim|)
6754-
global
6754+
global or local to window |global-local|
67556755
{not in Vi}
67566756
Minimal number of screen lines to keep above and below the cursor.
67576757
This will make some context visible around where you are working. If
67586758
you set it to a very large value (999) the cursor line will always be
67596759
in the middle of the window (except at the start or end of the file or
67606760
when long lines wrap).
6761-
For scrolling horizontally see 'sidescrolloff'.
6761+
After using the local value, go back the global value with one of
6762+
these two: >
6763+
setlocal scrolloff<
6764+
setlocal scrolloff=-1
6765+
< For scrolling horizontally see 'sidescrolloff'.
67626766
NOTE: This option is set to 0 when 'compatible' is set.
67636767

67646768
*'scrollopt'* *'sbo'*
@@ -7313,7 +7317,7 @@ A jump table for the options with a short description can be found at |Q_op|.
73137317

73147318
*'sidescrolloff'* *'siso'*
73157319
'sidescrolloff' 'siso' number (default 0)
7316-
global
7320+
global or local to window |global-local|
73177321
{not in Vi}
73187322
The minimal number of screen columns to keep to the left and to the
73197323
right of the cursor if 'nowrap' is set. Setting this option to a
@@ -7323,7 +7327,11 @@ A jump table for the options with a short description can be found at |Q_op|.
73237327
to a large value (like 999) has the effect of keeping the cursor
73247328
horizontally centered in the window, as long as one does not come too
73257329
close to the beginning of the line.
7326-
NOTE: This option is set to 0 when 'compatible' is set.
7330+
After using the local value, go back the global value with one of
7331+
these two: >
7332+
setlocal sidescrolloff<
7333+
setlocal sidescrolloff=-1
7334+
< NOTE: This option is set to 0 when 'compatible' is set.
73277335

73287336
Example: Try this together with 'sidescroll' and 'listchars' as
73297337
in the following example to never allow the cursor to move

runtime/doc/pattern.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,6 +1118,9 @@ x A single character, with no special meaning, matches itself
11181118
*[:tab:]* [:tab:] the <Tab> character
11191119
*[:escape:]* [:escape:] the <Esc> character
11201120
*[:backspace:]* [:backspace:] the <BS> character
1121+
*[:ident:]* [:ident:] identifier character (same as "\i")
1122+
*[:keyword:]* [:keyword:] keyword character (same as "\k")
1123+
*[:fname:]* [:fname:] file name character (same as "\f")
11211124
The brackets in character class expressions are additional to the
11221125
brackets delimiting a collection. For example, the following is a
11231126
plausible pattern for a UNIX filename: "[-./[:alnum:]_~]\+" That is,

src/Make_bc5.mak

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,7 @@ vimobj = \
548548
$(OBJDIR)\getchar.obj \
549549
$(OBJDIR)\hardcopy.obj \
550550
$(OBJDIR)\hashtab.obj \
551+
$(OBJDIR)\indent.obj \
551552
$(OBJDIR)\json.obj \
552553
$(OBJDIR)\list.obj \
553554
$(OBJDIR)\main.obj \

src/Make_cyg_ming.mak

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,7 @@ OBJ = \
720720
$(OUTDIR)/getchar.o \
721721
$(OUTDIR)/hardcopy.o \
722722
$(OUTDIR)/hashtab.o \
723+
$(OUTDIR)/indent.o \
723724
$(OUTDIR)/json.o \
724725
$(OUTDIR)/list.o \
725726
$(OUTDIR)/main.o \
@@ -930,7 +931,8 @@ endif
930931
ifeq (yes, $(USE_STDCPLUS))
931932
LINK = $(CXX)
932933
ifeq (yes, $(STATIC_STDCPLUS))
933-
LIB += -static-libstdc++ -static-libgcc
934+
#LIB += -static-libstdc++ -static-libgcc
935+
LIB += -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic
934936
endif
935937
else
936938
LINK = $(CC)

src/Make_dice.mak

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ SRC = \
5050
getchar.c \
5151
hardcopy.c \
5252
hashtab.c \
53+
indent.c \
5354
json.c \
5455
list.c \
5556
main.c \
@@ -108,6 +109,7 @@ OBJ = o/arabic.o \
108109
o/getchar.o \
109110
o/hardcopy.o \
110111
o/hashtab.o \
112+
o/indent.o \
111113
o/json.o \
112114
o/list.o \
113115
o/main.o \
@@ -209,6 +211,8 @@ o/hardcopy.o: hardcopy.c $(SYMS)
209211

210212
o/hashtab.o: hashtab.c $(SYMS)
211213

214+
o/indent.o: indent.c $(SYMS)
215+
212216
o/json.o: json.c $(SYMS)
213217

214218
o/list.o: list.c $(SYMS)

src/Make_ivc.mak

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ LINK32_OBJS= \
234234
"$(INTDIR)/getchar.obj" \
235235
"$(INTDIR)/hardcopy.obj" \
236236
"$(INTDIR)/hashtab.obj" \
237+
"$(INTDIR)/indent.obj" \
237238
"$(INTDIR)/json.obj" \
238239
"$(INTDIR)/list.obj" \
239240
"$(INTDIR)/main.obj" \
@@ -434,6 +435,10 @@ SOURCE=.\hardcopy.c
434435
SOURCE=.\hashtab.c
435436
# End Source File
436437
# Begin Source File
438+
#
439+
SOURCE=.\indent.c
440+
# End Source File
441+
# Begin Source File
437442

438443
SOURCE=.\gui.c
439444

src/Make_manx.mak

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ SRC = arabic.c \
6060
getchar.c \
6161
hardcopy.c \
6262
hashtab.c \
63+
indent.c \
6364
json.c \
6465
list.c \
6566
main.c \
@@ -120,6 +121,7 @@ OBJ = obj/arabic.o \
120121
obj/getchar.o \
121122
obj/hardcopy.o \
122123
obj/hashtab.o \
124+
obj/indent.o \
123125
obj/json.o \
124126
obj/list.o \
125127
obj/main.o \
@@ -178,6 +180,7 @@ PRO = proto/arabic.pro \
178180
proto/getchar.pro \
179181
proto/hardcopy.pro \
180182
proto/hashtab.pro \
183+
proto/indent.pro \
181184
proto/json.pro \
182185
proto/list.pro \
183186
proto/main.pro \
@@ -329,6 +332,9 @@ obj/hardcopy.o: hardcopy.c
329332
obj/hashtab.o: hashtab.c
330333
$(CCSYM) $@ hashtab.c
331334

335+
obj/indent.o: indent.c
336+
$(CCSYM) $@ indent.c
337+
332338
obj/json.o: json.c
333339
$(CCSYM) $@ json.c
334340

0 commit comments

Comments
 (0)