Skip to content

Commit 1d9215b

Browse files
committed
Update runtime files.
1 parent 7f51bbe commit 1d9215b

26 files changed

Lines changed: 625 additions & 104 deletions

runtime/doc/options.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 8.2. Last change: 2020 Jan 18
1+
*options.txt* For Vim version 8.2. Last change: 2020 Jan 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -5253,7 +5253,7 @@ A jump table for the options with a short description can be found at |Q_op|.
52535253
default because it makes using the pull down menus a little goofy, as
52545254
a pointer transit may activate a window unintentionally.
52555255
MS-Windows: Also see 'scrollfocus' for what window is scrolled when
5256-
using the mouse scroll whel.
5256+
using the mouse scroll wheel.
52575257

52585258
*'mousehide'* *'mh'* *'nomousehide'* *'nomh'*
52595259
'mousehide' 'mh' boolean (default on)

runtime/doc/todo.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 8.2. Last change: 2020 Jan 20
1+
*todo.txt* For Vim version 8.2. Last change: 2020 Jan 23
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -121,7 +121,7 @@ Terminal emulator window:
121121
conversions.
122122

123123
Error numbers available:
124-
E366, E450, E451, E452,
124+
E450, E451, E452,
125125
E453, E454, E460, E489, E491, E565, E578, E610, E611, E653,
126126
E654, E856, E857, E860, E861, E863, E889, E900
127127

@@ -171,12 +171,12 @@ in terminal.c and then CTRL-N twice.
171171
Should do current file first and not split it up when more results are found.
172172
(Also #1890)
173173

174+
Undo history wrong when ":next file" re-uses a buffer. (#5426)
175+
ex_next() should pass flag to do_argfile(), then to do_ecmd().
176+
174177
Adding "10" to 'spellsuggest' causes spell suggestions to become very slow.
175178
(#4087)
176179

177-
Instead of using a syntax error, use #error to fail early when something is
178-
wrong. E.g. in vim.h "Error:", and blowfish.c "error!". (#5299)
179-
180180
":helptags ALL" should skip directories where "tags" cannot be written.
181181
(Matěj Cepl, #5026)
182182

runtime/doc/usr_02.txt

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -509,14 +509,14 @@ Summary: *help-summary* >
509509
510510
1) Use Ctrl-D after typing a topic and let Vim show all available topics.
511511
Or press Tab to complete: >
512-
:help some<Tab>
512+
:help some<Tab>
513513
< More information on how to use the help: >
514514
:help helphelp
515515
516516
2) Follow the links in bars to related help. You can go from the detailed
517517
help to the user documentation, which describes certain commands more from
518518
a user perspective and less detailed. E.g. after: >
519-
:help pattern.txt
519+
:help pattern.txt
520520
< You can see the user guide topics |03.9| and |usr_27.txt| in the
521521
introduction.
522522

@@ -528,27 +528,27 @@ Summary: *help-summary* >
528528
< to open the help page which describes all option handling and then search
529529
using regular expressions, e.g. textwidth.
530530
Certain options have their own namespace, e.g.: >
531-
:help cpo-<letter>
531+
:help cpo-<letter>
532532
< for the corresponding flag of the 'cpoptions' settings, substitute <letter>
533533
by a specific flag, e.g.: >
534-
:help cpo-;
534+
:help cpo-;
535535
< And for the guioption flags: >
536-
:help go-<letter>
536+
:help go-<letter>
537537
538538
4) Normal mode commands do not have a prefix. To go to the help page for the
539539
"gt" command: >
540-
:help gt
540+
:help gt
541541
542542
5) Insert mode commands start with i_. Help for deleting a word: >
543-
:help i_CTRL-W
543+
:help i_CTRL-W
544544
545545
6) Visual mode commands start with v_. Help for jumping to the other side of
546546
the Visual area: >
547-
:help v_o
547+
:help v_o
548548
549549
7) Command line editing and arguments start with c_. Help for using the
550550
command argument %: >
551-
:help c_%
551+
:help c_%
552552
553553
8) Ex-commands always start with ":", so to go to the ":s" command help: >
554554
:help :s
@@ -559,56 +559,56 @@ Summary: *help-summary* >
559559
560560
10) Key combinations. They usually start with a single letter indicating
561561
the mode for which they can be used. E.g.: >
562-
:help i_CTRL-X
562+
:help i_CTRL-X
563563
< takes you to the family of CTRL-X commands for insert mode which can be
564564
used to auto-complete different things. Note, that certain keys will
565565
always be written the same, e.g. Control will always be CTRL.
566566
For normal mode commands there is no prefix and the topic is available at
567567
:h CTRL-<Letter>. E.g. >
568-
:help CTRL-W
568+
:help CTRL-W
569569
< In contrast >
570570
:help c_CTRL-R
571571
< will describe what the CTRL-R does when entering commands in the Command
572572
line and >
573-
:help v_CTRL-A
573+
:help v_CTRL-A
574574
< talks about incrementing numbers in visual mode and >
575575
:help g_CTRL-A
576576
< talks about the "g<C-A>" command (e.g. you have to press "g" then
577-
<CTRL-A>). Here the "g" stand for the normal command "g" which always
577+
<CTRL-A>). Here the "g" stands for the normal command "g" which always
578578
expects a second key before doing something similar to the commands
579-
starting with "z"
579+
starting with "z".
580580

581581
11) Regexp items always start with /. So to get help for the "\+" quantifier
582582
in Vim regexes: >
583-
:help /\+
583+
:help /\+
584584
< If you need to know everything about regular expressions, start reading
585585
at: >
586-
:help pattern.txt
586+
:help pattern.txt
587587
588588
12) Registers always start with "quote". To find out about the special ":"
589589
register: >
590-
:help quote:
590+
:help quote:
591591
592592
13) Vim script is available at >
593593
:help eval.txt
594-
< Certain aspects of the language are available at :h expr-X where "X" is a
595-
single letter. E.g. >
596-
:help expr-!
597-
< will take you to the topic describing the "!" (Not) operator for
598-
VimScript.
599-
Also important is >
600-
:help function-list
601-
< to find a short description of all functions available. Help topics for
602-
Vim script functions always include the "()", so: >
603-
:help append()
604-
< talks about the append Vim script function rather than how to append text
605-
in the current buffer.
594+
< Certain aspects of the language are available at :h expr-X where "X" is a
595+
single letter. E.g. >
596+
:help expr-!
597+
< will take you to the topic describing the "!" (Not) operator for Vim
598+
script.
599+
Also important is >
600+
:help function-list
601+
< to find a short description of all functions available. Help topics for
602+
Vim script functions always include the "()", so: >
603+
:help append()
604+
< talks about the append Vim script function rather than how to append text
605+
in the current buffer.
606606

607607
14) Mappings are talked about in the help page :h |map.txt|. Use >
608-
:help mapmode-i
608+
:help mapmode-i
609609
< to find out about the |:imap| command. Also use :map-topic
610610
to find out about certain subtopics particular for mappings. e.g: >
611-
:help :map-local
611+
:help :map-local
612612
< for buffer-local mappings or >
613613
:help map-bar
614614
< for how the '|' is handled in mappings.
@@ -619,7 +619,7 @@ Summary: *help-summary* >
619619

620620
16) Window management commands always start with CTRL-W, so you find the
621621
corresponding help at :h CTRL-W_letter. E.g. >
622-
:help CTRL-W_p
622+
:help CTRL-W_p
623623
< for moving the previous accessed window. You can also access >
624624
:help windows.txt
625625
< and read your way through if you are looking for window handling
@@ -628,30 +628,30 @@ Summary: *help-summary* >
628628
17) Use |:helpgrep| to search in all help pages (and also of any installed
629629
plugins). See |:helpgrep| for how to use it.
630630
To search for a topic: >
631-
:helpgrep topic
631+
:helpgrep topic
632632
< This takes you to the first match. To go to the next one: >
633633
:cnext
634634
< All matches are available in the quickfix window which can be opened
635635
with: >
636-
:copen
636+
:copen
637637
< Move around to the match you like and press Enter to jump to that help.
638638

639639
18) The user manual. This describes help topics for beginners in a rather
640640
friendly way. Start at |usr_toc.txt| to find the table of content (as you
641641
might have guessed): >
642-
:help usr_toc.txt
642+
:help usr_toc.txt
643643
< Skim over the contents to find interesting topics. The "Digraphs" and
644644
"Entering special characters" items are in chapter 24, so to go to that
645645
particular help page: >
646-
:help usr_24.txt
646+
:help usr_24.txt
647647
< Also if you want to access a certain chapter in the help, the chapter
648648
number can be accessed directly like this: >
649-
:help 10.1
649+
:help 10.1
650650
< which goes to chapter 10.1 in |usr_10.txt| and talks about recording
651651
macros.
652652

653653
19) Highlighting groups. Always start with hl-groupname. E.g. >
654-
:help hl-WarningMsg
654+
:help hl-WarningMsg
655655
< talks about the WarningMsg highlighting group.
656656

657657
20) Syntax highlighting is namespaced to :syn-topic. E.g. >
@@ -662,24 +662,24 @@ Summary: *help-summary* >
662662
usually start with :l
663663

664664
22) Autocommand events can be found by their name: >
665-
:help BufWinLeave
665+
:help BufWinLeave
666666
< To see all possible events: >
667667
:help autocommand-events
668668
669669
23) Command-line switches always start with "-". So for the help of the -f
670670
command switch of Vim use: >
671-
:help -f
671+
:help -f
672672
673673
24) Optional features always start with "+". To find out about the
674674
conceal feature use: >
675-
:help +conceal
675+
:help +conceal
676676
677677
25) Documentation for included filetype specific functionality is usually
678-
available in the form ft-<filetype>-<functionality>. So >
679-
:help ft-c-syntax
678+
available in the form ft-<filetype>-<functionality>. So >
679+
:help ft-c-syntax
680680
< talks about the C syntax file and the option it provides. Sometimes,
681681
additional sections for omni completion >
682-
:help ft-php-omni
682+
:help ft-php-omni
683683
< or filetype plugins >
684684
:help ft-tex-plugin
685685
< are available.
@@ -691,7 +691,7 @@ Summary: *help-summary* >
691691
< talks about the warning "Changing a readonly file".
692692
Sometimes, however, those error codes are not described, but rather are
693693
listed at the Vim command that usually causes this. So: >
694-
:help E128
694+
:help E128
695695
< takes you to the |:function| command
696696

697697

runtime/filetype.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Vim support file to detect file types
22
"
33
" Maintainer: Bram Moolenaar <[email protected]>
4-
" Last Change: 2019 Nov 26
4+
" Last Change: 2020 Jan 22
55

66
" Listen very carefully, I will say this only once
77
if exists("did_load_filetypes")

runtime/ftplugin/swift.vim

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
" This source file is part of the Swift.org open source project
2+
"
3+
" Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
4+
" Licensed under Apache License v2.0 with Runtime Library Exception
5+
"
6+
" See https://swift.org/LICENSE.txt for license information
7+
" See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
8+
"
9+
" Vim maintainer: Emir SARI <[email protected]>
10+
11+
setlocal comments=s1:/*,mb:*,ex:*/,:///,://
12+
setlocal expandtab
13+
setlocal ts=2
14+
setlocal sw=2
15+
setlocal smartindent

runtime/ftplugin/swiftgyb.vim

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
" This source file is part of the Swift.org open source project
2+
"
3+
" Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
4+
" Licensed under Apache License v2.0 with Runtime Library Exception
5+
"
6+
" See https://swift.org/LICENSE.txt for license information
7+
" See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
8+
"
9+
" Vim maintainer: Emir SARI <[email protected]>
10+
11+
runtime! ftplugin/swift.vim

runtime/syntax/amiga.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
" Vim syntax file
22
" Language: AmigaDos
3-
" Maintainer: Charles E. Campbell <[email protected]>
3+
" Maintainer: Charles E. Campbell <[email protected]>
44
" Last Change: Aug 31, 2016
5-
" Version: 9
5+
" Version: 10
66
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_AMIGA
77

88
" quit when a syntax file was already loaded

runtime/syntax/csh.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
" Vim syntax file
22
" Language: C-shell (csh)
3-
" Maintainer: Charles E. Campbell <[email protected]>
3+
" Maintainer: Charles E. Campbell <[email protected]>
44
" Last Change: Aug 31, 2016
5-
" Version: 13
5+
" Version: 14
66
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_CSH
77

88
" quit when a syntax file was already loaded

runtime/syntax/dcl.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
" Vim syntax file
22
" Language: DCL (Digital Command Language - vms)
3-
" Maintainer: Charles E. Campbell <[email protected]>
3+
" Maintainer: Charles E. Campbell <[email protected]>
44
" Last Change: Mar 26, 2019
5-
" Version: 12
5+
" Version: 13
66
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_DCL
77

88
" quit when a syntax file was already loaded

runtime/syntax/elmfilt.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
" Vim syntax file
22
" Language: Elm Filter rules
3-
" Maintainer: Charles E. Campbell <[email protected]>
3+
" Maintainer: Charles E. Campbell <[email protected]>
44
" Last Change: Aug 31, 2016
5-
" Version: 8
5+
" Version: 9
66
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_ELMFILT
77

88
" quit when a syntax file was already loaded

0 commit comments

Comments
 (0)