Skip to content

Commit 91dcb1f

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 351faf9 + c229e54 commit 91dcb1f

79 files changed

Lines changed: 5244 additions & 1676 deletions

Some content is hidden

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

Filelist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ SRC_ALL = \
77
.lgtm.yml \
88
.travis.yml \
99
appveyor.yml \
10+
src/Make_all.mak \
1011
src/appveyor.bat \
1112
src/README.txt \
1213
src/alloc.h \
@@ -709,6 +710,7 @@ RT_NO_UNIX = \
709710

710711
# runtime for Amiga (also in the extra archive)
711712
RT_AMI_DOS = \
713+
runtime/doc/evim.man \
712714
runtime/doc/vim.man \
713715
runtime/doc/vimdiff.man \
714716
runtime/doc/vimtutor.man \
@@ -849,6 +851,8 @@ IN_README_DIR = \
849851

850852
# generic language files
851853
LANG_GEN = \
854+
runtime/doc/*-da.1 \
855+
runtime/doc/*-da.UTF-8.1 \
852856
runtime/doc/*-de.1 \
853857
runtime/doc/*-de.UTF-8.1 \
854858
runtime/doc/*-fr.1 \

nsis/icons/vim_16c.ico

0 Bytes
Binary file not shown.

nsis/icons/vim_uninst_16c.ico

0 Bytes
Binary file not shown.

runtime/autoload/csscomplete.vim

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
" plus CSS Speech Module <http://www.w3.org/TR/css3-speech/>
55
" Maintainer: Kao, Wei-Ko(othree) ( othree AT gmail DOT com )
66
" Original Author: Mikolaj Machowski ( mikmach AT wp DOT pl )
7-
" Last Change: 2016 Jan 11
7+
" Last Change: 2018 Jul 02
88

99
let s:values = split("all additive-symbols align-content align-items align-self animation animation-delay animation-direction animation-duration animation-fill-mode animation-iteration-count animation-name animation-play-state animation-timing-function backface-visibility background background-attachment background-blend-mode background-clip background-color background-image background-origin background-position background-repeat background-size block-size border border-block-end border-block-end-color border-block-end-style border-block-end-width border-block-start border-block-start-color border-block-start-style border-block-start-width border-bottom border-bottom-color border-bottom-left-radius border-bottom-right-radius border-bottom-style border-bottom-width border-collapse border-color border-image border-image-outset border-image-repeat border-image-slice border-image-source border-image-width border-inline-end border-inline-end-color border-inline-end-style border-inline-end-width border-inline-start border-inline-start-color border-inline-start-style border-inline-start-width border-left border-left-color border-left-style border-left-width border-radius border-right border-right-color border-right-style border-right-width border-spacing border-style border-top border-top-color border-top-left-radius border-top-right-radius border-top-style border-top-width border-width bottom box-decoration-break box-shadow box-sizing break-after break-before break-inside caption-side clear clip clip-path color columns column-count column-fill column-gap column-rule column-rule-color column-rule-style column-rule-width column-span column-width content counter-increment counter-reset cue cue-before cue-after cursor direction display empty-cells fallback filter flex flex-basis flex-direction flex-flow flex-grow flex-shrink flex-wrap float font font-family font-feature-settings font-kerning font-language-override font-size font-size-adjust font-stretch font-style font-synthesis font-variant font-variant-alternates font-variant-caps font-variant-east-asian font-variant-ligatures font-variant-numeric font-variant-position font-weight grid grid-area grid-auto-columns grid-auto-flow grid-auto-position grid-auto-rows grid-column grid-column-start grid-column-end grid-row grid-row-start grid-row-end grid-template grid-template-areas grid-template-rows grid-template-columns height hyphens image-rendering image-resolution image-orientation ime-mode inline-size isolation justify-content left letter-spacing line-break line-height list-style list-style-image list-style-position list-style-type margin margin-block-end margin-block-start margin-bottom margin-inline-end margin-inline-start margin-left margin-right margin-top marks mask mask-type max-block-size max-height max-inline-size max-width max-zoom min-block-size min-height min-inline-size min-width min-zoom mix-blend-mode negative object-fit object-position offset-block-end offset-block-start offset-inline-end offset-inline-start opacity order orientation orphans outline outline-color outline-offset outline-style outline-width overflow overflow-wrap overflow-x overflow-y pad padding padding-block-end padding-block-start padding-bottom padding-inline-end padding-inline-start padding-left padding-right padding-top page-break-after page-break-before page-break-inside pause-before pause-after pause perspective perspective-origin pointer-events position prefix quotes range resize rest rest-before rest-after right ruby-align ruby-merge ruby-position scroll-behavior scroll-snap-coordinate scroll-snap-destination scroll-snap-points-x scroll-snap-points-y scroll-snap-type scroll-snap-type-x scroll-snap-type-y shape-image-threshold shape-margin shape-outside speak speak-as suffix symbols system table-layout tab-size text-align text-align-last text-combine-upright text-decoration text-decoration-color text-decoration-line text-emphasis text-emphasis-color text-emphasis-position text-emphasis-style text-indent text-orientation text-overflow text-rendering text-shadow text-transform text-underline-position top touch-action transform transform-box transform-origin transform-style transition transition-delay transition-duration transition-property transition-timing-function unicode-bidi unicode-range user-zoom vertical-align visibility voice-balance voice-duration voice-family voice-pitch voice-rate voice-range voice-stress voice-volume white-space widows width will-change word-break word-spacing word-wrap writing-mode z-index zoom")
1010

@@ -19,7 +19,6 @@ function! csscomplete#CompleteCSS(findstart, base)
1919
while start >= 0 && line[start - 1] =~ '\%(\k\|-\)'
2020
let start -= 1
2121
endwhile
22-
let b:after = line[compl_begin :]
2322
let b:compl_context = line[0:compl_begin]
2423
return start
2524
endif
@@ -37,11 +36,14 @@ function! csscomplete#CompleteCSS(findstart, base)
3736
" 5. if @ complete at-rule
3837
" 6. if ! complete important
3938
if exists("b:compl_context")
39+
let line = getline('.')
40+
let compl_begin = col('.') - 2
41+
let after = line[compl_begin:]
4042
let line = b:compl_context
41-
let after = b:after
4243
unlet! b:compl_context
4344
else
4445
let line = a:base
46+
let after = ''
4547
endif
4648

4749
let res = []

runtime/doc/editing.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -901,8 +901,8 @@ flag is used for the ":substitute" command to avoid an error for files where
901901
Note: When the 'write' option is off, you are not able to write any file.
902902

903903
*:w* *:write*
904-
*E502* *E503* *E504* *E505*
905-
*E512* *E514* *E667* *E796* *E949*
904+
*E502* *E503* *E504* *E505*
905+
*E512* *E514* *E667* *E796* *E949*
906906
:w[rite] [++opt] Write the whole buffer to the current file. This is
907907
the normal way to save changes to a file. It fails
908908
when the 'readonly' option is set or when there is

runtime/doc/eval.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3629,6 +3629,7 @@ executable({expr}) *executable()*
36293629
1 exists
36303630
0 does not exist
36313631
-1 not implemented on this system
3632+
|exepath()| can be used to get the full path of an executable.
36323633

36333634
execute({command} [, {silent}]) *execute()*
36343635
Execute an Ex command or commands and return the output as a

runtime/doc/evim.man

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
EVIM(1) EVIM(1)
2+
3+
4+
5+
NAME
6+
evim - easy Vim, edit a file with Vim and setup for modeless editing
7+
8+
SYNOPSIS
9+
evim [options] [file ..]
10+
eview
11+
12+
DESCRIPTION
13+
eVim starts Vim and sets options to make it behave like a modeless edi-
14+
tor. This is still Vim but used as a point-and-click editor. This
15+
feels a lot like using Notepad on MS-Windows. eVim will always run in
16+
the GUI, to enable the use of menus and toolbar.
17+
18+
Only to be used for people who really can't work with Vim in the normal
19+
way. Editing will be much less efficient.
20+
21+
eview is the same, but starts in read-only mode. It works just like
22+
evim -R.
23+
24+
See vim(1) for details about Vim, options, etc.
25+
26+
The 'insertmode' option is set to be able to type text directly.
27+
Mappings are setup to make Copy and Paste work with the MS-Windows
28+
keys. CTRL-X cuts text, CTRL-C copies text and CTRL-V pastes text.
29+
Use CTRL-Q to obtain the original meaning of CTRL-V.
30+
31+
OPTIONS
32+
See vim(1).
33+
34+
FILES
35+
/usr/local/lib/vim/evim.vim
36+
The script loaded to initialize eVim.
37+
38+
AKA
39+
Also Known As "Vim for gumbies". When using evim you are expected to
40+
take a handkerchief, make a knot in each corner and wear it on your
41+
head.
42+
43+
SEE ALSO
44+
vim(1)
45+
46+
AUTHOR
47+
Most of Vim was made by Bram Moolenaar, with a lot of help from others.
48+
See the Help/Credits menu.
49+
50+
51+
52+
2002 February 16 EVIM(1)

runtime/doc/filetype.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@ then Vim will load all plugins in these directories and below:
320320
Note that the last one is the value of $VIMRUNTIME which has been expanded.
321321

322322
Note that when using a plugin manager or |packages| many directories will be
323-
added to 'runtimepath'. These plugins earch require their own directory,
324-
don't put them directly in ~/.vim/plugin.
323+
added to 'runtimepath'. These plugins each require their own directory, don't
324+
put them directly in ~/.vim/plugin.
325325

326326
What if it looks like your plugin is not being loaded? You can find out what
327327
happens when Vim starts up by using the |-V| argument: >

runtime/doc/if_lua.txt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ Vim evaluation and command execution, and others.
125125
Non-numeric keys are not used to initialize
126126
the list. See also |lua-eval| for conversion
127127
rules. Example: >
128-
:lua t = {math.pi, false, say = 'hi'}
129-
:echo luaeval('vim.list(t)')
130-
:" [3.141593, v:false], 'say' is ignored
128+
:lua t = {math.pi, false, say = 'hi'}
129+
:echo luaeval('vim.list(t)')
130+
:" [3.141593, v:false], 'say' is ignored
131131
<
132132
vim.dict([arg]) Returns an empty dictionary or, if "arg" is a
133133
Lua table, returns a dict d such that d[k] =
@@ -136,12 +136,14 @@ Vim evaluation and command execution, and others.
136136
strings. Keys that are not strings are not
137137
used to initialize the dictionary. See also
138138
|lua-eval| for conversion rules. Example: >
139-
:lua t = {math.pi, false, say = 'hi'}
140-
:echo luaeval('vim.dict(t)')
141-
:" {'say': 'hi'}, numeric keys ignored
139+
:lua t = {math.pi, false, say = 'hi'}
140+
:echo luaeval('vim.dict(t)')
141+
:" {'1': 3.141593, '2': v:false,
142+
:" 'say': 'hi'}
142143
<
143144
vim.funcref({name}) Returns a Funcref to function {name} (see
144-
|Funcref|). It is equivalent to Vim's function().
145+
|Funcref|). It is equivalent to Vim's
146+
function().
145147

146148
vim.buffer([arg]) If "arg" is a number, returns buffer with
147149
number "arg" in the buffer list or, if "arg"

runtime/doc/insert.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,7 @@ phpFunctions.
15351535

15361536
If you wish non-filetype syntax items to also be included, you can use a
15371537
regular expression syntax (added in version 13.0 of
1538-
autoload\syntaxcomplete.vim) to add items. Looking at the output from
1538+
autoload/syntaxcomplete.vim) to add items. Looking at the output from
15391539
":syntax list" while editing a PHP file I can see some of these entries: >
15401540
htmlArg,htmlTag,htmlTagName,javaScriptStatement,javaScriptGlobalObjects
15411541

0 commit comments

Comments
 (0)