Skip to content

Commit e4a3bcf

Browse files
committed
Updated runtime files. Add Scala files.
1 parent dd74ab9 commit e4a3bcf

34 files changed

+3479
-2073
lines changed

runtime/doc/eval.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 7.4. Last change: 2016 Aug 18
1+
*eval.txt* For Vim version 7.4. Last change: 2016 Aug 21
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -7305,7 +7305,7 @@ strwidth({expr}) *strwidth()*
73057305
Ambiguous, this function's return value depends on 'ambiwidth'.
73067306
Also see |strlen()|, |strdisplaywidth()| and |strchars()|.
73077307

7308-
submatch({nr}[, {list}]) *submatch()*
7308+
submatch({nr}[, {list}]) *submatch()* *E935*
73097309
Only for an expression in a |:substitute| command or
73107310
substitute() function.
73117311
Returns the {nr}'th submatch of the matched text. When {nr}

runtime/doc/gui_x11.txt

Lines changed: 41 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*gui_x11.txt* For Vim version 7.4. Last change: 2016 Apr 08
1+
*gui_x11.txt* For Vim version 7.4. Last change: 2016 Aug 21
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -421,6 +421,9 @@ These are the different looks:
421421
GNOME is compiled with if it was found by configure and the
422422
--enable-gnome-check argument was used.
423423

424+
Note: Avoid use of --enable-gnome-check with GTK+ 3 GUI build. The
425+
functionality mentioned above is consolidated in GTK+ 3.
426+
424427

425428
GNOME session support *gui-gnome-session* *gnome-session*
426429

@@ -457,39 +460,52 @@ continues on Yzis: https://github.com/chrizel/Yzis.
457460
==============================================================================
458461
8. Compiling *gui-x11-compiling*
459462

460-
If using X11, Vim's Makefile will by default first try to find the necessary
461-
GTK+ files on your system. If the GTK+ files cannot be found, then the Motif
462-
files will be searched for. Finally, if this fails, the Athena files will be
463-
searched for. If all three fail, the GUI will be disabled.
463+
If using X11, Vim's configure will by default first try to find the necessary
464+
GTK+ files on your system. When both GTK+ 2 and GTK+ 3 are available, GTK+ 2
465+
will be chosen unless --enable-gui=gtk3 is passed explicitly to configure.
466+
467+
If the GTK+ files cannot be found, then the Motif files will be searched for.
468+
Finally, if this fails, the Athena files will be searched for. If all three
469+
fail, the GUI will be disabled.
470+
471+
For GTK+, Vim's configuration process uses pkg-config(1) to check if the
472+
GTK+ required for a specified build is properly installed and usable.
473+
Accordingly, it is a good idea to make sure before running configure that
474+
your system has a working pkg-config together with the .pc file of the
475+
required GTK+. For that, say, run the following on the command line to see if
476+
your pkg-config works with your GTK+ 2: >
477+
478+
$ pkgconfig --modversion gtk+-2.0
464479
465-
For GTK+, Vim's configuration process requires that GTK+ be properly
466-
installed. That is, the shell script 'gtk-config' must be in your PATH, and
467-
you can already successful compile, build, and execute a GTK+ program. The
468-
reason for this is that the compiler flags (CFLAGS) and link flags (LDFLAGS)
469-
are obtained through the 'gtk-config' shell script.
480+
Replace gtk+-2.0 with gtk+-3.0 for GTK+ 3. If you get the correct version
481+
number of your GTK+, you can proceed; if not, you probably need to do some
482+
system administration chores to set up pkg-config and GTK+ correctly.
470483

471-
If you want to build with GTK+ 2 support pass the --enable-gtk2-check argument
472-
to ./configure. Optionally, support for GNOME 2 will be compiled if the
473-
--enable-gnome-check option is also given.
484+
The GTK+ 2 GUI is built by default. Therefore, you usually don't need to pass
485+
any options such as --enable-gui=gtk2 to configure and build that.
486+
487+
Optionally, the GTK+ 2 GUI can consolidate the GNOME 2 support. This support
488+
is enabled by passing --enable-gnome-check to configure.
489+
490+
If you want to build the GTK+ 3 GUI, you have to pass --enable-gui=gtk3
491+
explicitly to configure, and avoid passing --enable-gnome-check to that, as
492+
the functionality of the GNOME 2 support has already been consolidated in
493+
GTK+ 3.
474494

475495
Otherwise, if you are using Motif or Athena, when you have the Motif or Athena
476496
files in a directory where configure doesn't look, edit the Makefile to enter
477497
the names of the directories. Search for "GUI_INC_LOC" for an example to set
478498
the Motif directories, "CONF_OPT_X" for Athena.
479499

480500
*gui-x11-gtk*
481-
At the time of this writing, GTK+ version 1.0.6 and 1.2 are outdated. It
482-
is suggested that you use GTK 2. The GTK 1 support will most likely be
483-
dropped soon.
484-
485-
For the GTK+ 2 GUI, using the latest release of the GTK+ 2.0 or GTK+ 2.2
486-
series is recommended.
487-
488-
Lastly, although GTK+ has supposedly been ported to the Win32 platform, this
489-
has not been tested with Vim and is also unsupported. Also, it's unlikely to
490-
even compile since GTK+ GUI uses parts of the generic X11 code. This might
491-
change in distant future; particularly because getting rid of the X11 centric
492-
code parts is also required for GTK+ framebuffer support.
501+
Currently, Vim supports both GTK+ 2 and GTK+ 3.
502+
503+
The GTK+ 2 GUI requires GTK+ 2.2 or later.
504+
505+
Although the GTK+ 3 GUI is written in such a way that the source code can be
506+
compiled against all versions of the 3.x series, we recommend GTK+ 3.10 or
507+
later because of its substantial implementation changes in redraw done at
508+
that version.
493509

494510
*gui-x11-motif*
495511
For Motif, you need at least Motif version 1.2 and/or X11R5. Motif 2.0 and

runtime/doc/index.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*index.txt* For Vim version 7.4. Last change: 2016 Aug 16
1+
*index.txt* For Vim version 7.4. Last change: 2016 Aug 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1239,6 +1239,7 @@ tag command action ~
12391239
|:file| :f[ile] show or set the current file name
12401240
|:files| :files list all files in the buffer list
12411241
|:filetype| :filet[ype] switch file type detection on/off
1242+
|:filter| :filt[er] filter output of following command
12421243
|:find| :fin[d] find file in 'path' and edit it
12431244
|:finally| :fina[lly] part of a :try command
12441245
|:finish| :fini[sh] quit sourcing a Vim script

runtime/doc/options.txt

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 7.4. Last change: 2016 Aug 14
1+
*options.txt* For Vim version 7.4. Last change: 2016 Aug 26
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4319,6 +4319,8 @@ A jump table for the options with a short description can be found at |Q_op|.
43194319
original position when no match is found and when pressing <Esc>. You
43204320
still need to finish the search command with <Enter> to move the
43214321
cursor to the match.
4322+
You can use the CTRL-N and CTRL-P keys to move to the next and
4323+
previous match. |c_CTRL-N| |c_CTRL-P|
43224324
When compiled with the |+reltime| feature Vim only searches for about
43234325
half a second. With a complicated pattern and/or a lot of text the
43244326
match may not be found. This is to avoid that Vim hangs while you
@@ -4632,7 +4634,7 @@ A jump table for the options with a short description can be found at |Q_op|.
46324634
be able to execute Normal mode commands.
46334635
This is the opposite of the 'keymap' option, where characters are
46344636
mapped in Insert mode.
4635-
Also consider setting 'langnoremap' to avoid 'langmap' applies to
4637+
Also consider resetting 'langremap' to avoid 'langmap' applies to
46364638
characters resulting from a mapping.
46374639
This option cannot be set from a |modeline| or in the |sandbox|, for
46384640
security reasons.
@@ -4695,10 +4697,20 @@ A jump table for the options with a short description can be found at |Q_op|.
46954697
{not in Vi}
46964698
{only available when compiled with the |+langmap|
46974699
feature}
4698-
When on, setting 'langmap' does not apply to characters resulting from
4700+
This is just like 'langremap' but with the value inverted. It only
4701+
exists for backwards compatibility. When setting 'langremap' then
4702+
'langnoremap' is set to the inverted value, and the other way around.
4703+
4704+
*'langremap'* *'lrm'* *'nolangremap'* *'nolrm'*
4705+
'langremap' 'lrm' boolean (default on, reset in |defaults.vim|)
4706+
global
4707+
{not in Vi}
4708+
{only available when compiled with the |+langmap|
4709+
feature}
4710+
When off, setting 'langmap' does not apply to characters resulting from
46994711
a mapping. This basically means, if you noticed that setting
4700-
'langmap' disables some of your mappings, try setting this option.
4701-
This option defaults to off for backwards compatibility. Set it on if
4712+
'langmap' disables some of your mappings, try resetting this option.
4713+
This option defaults to on for backwards compatibility. Set it off if
47024714
that works for you to avoid mappings to break.
47034715

47044716
*'laststatus'* *'ls'*
@@ -6245,6 +6257,8 @@ A jump table for the options with a short description can be found at |Q_op|.
62456257
"inclusive" means that the last character of the selection is included
62466258
in an operation. For example, when "x" is used to delete the
62476259
selection.
6260+
When "old" is used and 'virtualedit' allows the cursor to move past
6261+
the end of line the line break still isn't included.
62486262
Note that when "exclusive" is used and selecting from the end
62496263
backwards, you cannot include the last character of a line, when
62506264
starting in Normal mode and 'virtualedit' empty.

runtime/doc/quickref.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*quickref.txt* For Vim version 7.4. Last change: 2016 Aug 12
1+
*quickref.txt* For Vim version 7.4. Last change: 2016 Aug 21
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -767,7 +767,7 @@ Short explanation of each option: *option-list*
767767
'keywordprg' 'kp' program to use for the "K" command
768768
'langmap' 'lmap' alphabetic characters for other language mode
769769
'langmenu' 'lm' language to be used for the menus
770-
'langnoremap' 'lnr' do not apply 'langmap' to mapped characters
770+
'langremap' 'lrm' do apply 'langmap' to mapped characters
771771
'laststatus' 'ls' tells when last window has status lines
772772
'lazyredraw' 'lz' don't redraw while executing macros
773773
'linebreak' 'lbr' wrap long lines at a blank

runtime/doc/tags

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
400400
'langmap' options.txt /*'langmap'*
401401
'langmenu' options.txt /*'langmenu'*
402402
'langnoremap' options.txt /*'langnoremap'*
403+
'langremap' options.txt /*'langremap'*
403404
'laststatus' options.txt /*'laststatus'*
404405
'lazyredraw' options.txt /*'lazyredraw'*
405406
'lbr' options.txt /*'lbr'*
@@ -416,6 +417,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
416417
'lnr' options.txt /*'lnr'*
417418
'loadplugins' options.txt /*'loadplugins'*
418419
'lpl' options.txt /*'lpl'*
420+
'lrm' options.txt /*'lrm'*
419421
'ls' options.txt /*'ls'*
420422
'lsp' options.txt /*'lsp'*
421423
'luadll' options.txt /*'luadll'*
@@ -586,6 +588,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
586588
'nojoinspaces' options.txt /*'nojoinspaces'*
587589
'nojs' options.txt /*'nojs'*
588590
'nolangnoremap' options.txt /*'nolangnoremap'*
591+
'nolangremap' options.txt /*'nolangremap'*
589592
'nolazyredraw' options.txt /*'nolazyredraw'*
590593
'nolbr' options.txt /*'nolbr'*
591594
'nolinebreak' options.txt /*'nolinebreak'*
@@ -594,6 +597,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
594597
'nolnr' options.txt /*'nolnr'*
595598
'noloadplugins' options.txt /*'noloadplugins'*
596599
'nolpl' options.txt /*'nolpl'*
600+
'nolrm' options.txt /*'nolrm'*
597601
'nolz' options.txt /*'nolz'*
598602
'noma' options.txt /*'noma'*
599603
'nomacatsui' options.txt /*'nomacatsui'*
@@ -1593,6 +1597,9 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
15931597
/\{- pattern.txt /*\/\\{-*
15941598
/\~ pattern.txt /*\/\\~*
15951599
/^ pattern.txt /*\/^*
1600+
/_CTRL-L cmdline.txt /*\/_CTRL-L*
1601+
/_CTRL-N cmdline.txt /*\/_CTRL-N*
1602+
/_CTRL-P cmdline.txt /*\/_CTRL-P*
15961603
/atom pattern.txt /*\/atom*
15971604
/bar pattern.txt /*\/bar*
15981605
/branch pattern.txt /*\/branch*
@@ -2267,6 +2274,8 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
22672274
:filetype-overview filetype.txt /*:filetype-overview*
22682275
:filetype-plugin-off filetype.txt /*:filetype-plugin-off*
22692276
:filetype-plugin-on filetype.txt /*:filetype-plugin-on*
2277+
:filt various.txt /*:filt*
2278+
:filter various.txt /*:filter*
22702279
:fin editing.txt /*:fin*
22712280
:fina eval.txt /*:fina*
22722281
:finally eval.txt /*:finally*
@@ -4475,6 +4484,7 @@ E931 message.txt /*E931*
44754484
E932 eval.txt /*E932*
44764485
E933 eval.txt /*E933*
44774486
E934 sign.txt /*E934*
4487+
E935 eval.txt /*E935*
44784488
E94 windows.txt /*E94*
44794489
E95 message.txt /*E95*
44804490
E96 diff.txt /*E96*
@@ -9217,6 +9227,7 @@ window-size term.txt /*window-size*
92179227
window-size-functions usr_41.txt /*window-size-functions*
92189228
window-tag windows.txt /*window-tag*
92199229
window-variable eval.txt /*window-variable*
9230+
windowid windows.txt /*windowid*
92209231
windowid-variable eval.txt /*windowid-variable*
92219232
windows windows.txt /*windows*
92229233
windows-3.1 os_win32.txt /*windows-3.1*
@@ -9226,6 +9237,7 @@ windows-starting windows.txt /*windows-starting*
92269237
windows.txt windows.txt /*windows.txt*
92279238
windows95 os_win32.txt /*windows95*
92289239
winheight() eval.txt /*winheight()*
9240+
winid windows.txt /*winid*
92299241
winline() eval.txt /*winline()*
92309242
winnr() eval.txt /*winnr()*
92319243
winrestcmd() eval.txt /*winrestcmd()*

runtime/doc/tagsrch.txt

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*tagsrch.txt* For Vim version 7.4. Last change: 2013 Oct 01
1+
*tagsrch.txt* For Vim version 7.4. Last change: 2016 Aug 20
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -454,9 +454,9 @@ The next file in the list is not used when:
454454
This also depends on whether case is ignored. Case is ignored when:
455455
- 'tagcase' is "followic" and 'ignorecase' is set
456456
- 'tagcase' is "ignore"
457-
- 'tagcase' is "smart" and and the pattern only contains lower case
457+
- 'tagcase' is "smart" and the pattern only contains lower case
458458
characters.
459-
- 'tagcase' is "followscs" and 'smartcase' is set and and the pattern only
459+
- 'tagcase' is "followscs" and 'smartcase' is set and the pattern only
460460
contains lower case characters.
461461
If case is not ignored, and the tags file only has a match without matching
462462
case, the next tags file is searched for a match with matching case. If no
@@ -833,24 +833,24 @@ CTRL-W d Open a new window, with the cursor on the first
833833

834834
*:search-args*
835835
Common arguments for the commands above:
836-
[!] When included, find matches in lines that are recognized as comments.
837-
When excluded, a match is ignored when the line is recognized as a
838-
comment (according to 'comments'), or the match is in a C comment (after
839-
"//" or inside /* */). Note that a match may be missed if a line is
840-
recognized as a comment, but the comment ends halfway the line.
841-
And if the line is a comment, but it is not recognized (according to
842-
'comments') a match may be found in it anyway. Example: >
836+
[!] When included, find matches in lines that are recognized as comments.
837+
When excluded, a match is ignored when the line is recognized as a
838+
comment (according to 'comments'), or the match is in a C comment
839+
(after "//" or inside /* */). Note that a match may be missed if a
840+
line is recognized as a comment, but the comment ends halfway the line.
841+
And if the line is a comment, but it is not recognized (according to
842+
'comments') a match may be found in it anyway. Example: >
843843
/* comment
844844
foobar */
845-
< A match for "foobar" is found, because this line is not recognized as a
846-
comment (even though syntax highlighting does recognize it).
847-
Note: Since a macro definition mostly doesn't look like a comment, the
848-
[!] makes no difference for ":dlist", ":dsearch" and ":djump".
849-
[/] A pattern can be surrounded by '/'. Without '/' only whole words are
850-
matched, using the pattern "\<pattern\>". Only after the second '/' a
851-
next command can be appended with '|'. Example: >
845+
< A match for "foobar" is found, because this line is not recognized as
846+
a comment (even though syntax highlighting does recognize it).
847+
Note: Since a macro definition mostly doesn't look like a comment, the
848+
[!] makes no difference for ":dlist", ":dsearch" and ":djump".
849+
[/] A pattern can be surrounded by '/'. Without '/' only whole words are
850+
matched, using the pattern "\<pattern\>". Only after the second '/' a
851+
next command can be appended with '|'. Example: >
852852
:isearch /string/ | echo "the last one"
853-
< For a ":djump", ":dsplit", ":dlist" and ":dsearch" command the pattern
854-
is used as a literal string, not as a search pattern.
853+
< For a ":djump", ":dsplit", ":dlist" and ":dsearch" command the pattern
854+
is used as a literal string, not as a search pattern.
855855

856856
vim:tw=78:ts=8:ft=help:norl:

0 commit comments

Comments
 (0)