Skip to content

Commit c4db274

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 6cc90f1 + a16f472 commit c4db274

29 files changed

Lines changed: 763 additions & 374 deletions

Filelist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,8 @@ RT_UNIX = \
584584
runtime/vim32x32.xpm \
585585
runtime/vim48x48.png \
586586
runtime/vim48x48.xpm \
587+
runtime/gvim.desktop \
588+
runtime/vim.desktop \
587589

588590
# Unix and DOS runtime without CR-LF translation
589591
RT_UNIX_DOS_BIN = \

runtime/doc/if_lua.txt

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_lua.txt* For Vim version 7.4. Last change: 2013 Sep 04
1+
*if_lua.txt* For Vim version 7.4. Last change: 2015 Oct 16
22

33

44
VIM REFERENCE MANUAL by Luis Carvalho
@@ -14,6 +14,7 @@ The Lua Interface to Vim *lua* *Lua*
1414
6. Buffer userdata |lua-buffer|
1515
7. Window userdata |lua-window|
1616
8. The luaeval function |lua-luaeval|
17+
9. Dynamic loading |lua-dynamic|
1718

1819
{Vi does not have any of these commands}
1920

@@ -399,5 +400,24 @@ Examples: >
399400
:echo Rand(1,10)
400401
401402
403+
==============================================================================
404+
9. Dynamic loading *lua-dynamic*
405+
406+
On MS-Windows and Unix the Lua library can be loaded dynamically. The
407+
|:version| output then includes |+lua/dyn|.
408+
409+
This means that Vim will search for the Lua DLL or shared library file only
410+
when needed. When you don't use the Lua interface you don't need it, thus
411+
you can use Vim without this file.
412+
413+
On MS-Windows to use the Lua interface the Lua DLL must be in your search path.
414+
In a console window type "path" to see what directories are used. The version
415+
of the DLL must match the Lua version Vim was compiled with.
416+
417+
On Unix the 'luadll' option can be used to specify the Lua shared library file
418+
instead of DYNAMIC_LUA_DLL file what was specified at compile time. The
419+
version of the shared library must match the Lua version Vim was compiled with.
420+
421+
402422
==============================================================================
403423
vim:tw=78:ts=8:noet:ft=help:norl:

runtime/doc/if_perl.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_perl.txt* For Vim version 7.4. Last change: 2013 Oct 05
1+
*if_perl.txt* For Vim version 7.4. Last change: 2015 Oct 16
22

33

44
VIM REFERENCE MANUAL by Sven Verdoolaege
@@ -290,5 +290,13 @@ The name of the DLL must match the Perl version Vim was compiled with.
290290
Currently the name is "perl512.dll". That is for Perl 5.12. To know for
291291
sure edit "gvim.exe" and search for "perl\d*.dll\c".
292292

293+
294+
Unix ~
295+
296+
The 'perldll' option can be used to specify the Perl shared library file
297+
instead of DYNAMIC_PERL_DLL file what was specified at compile time. The
298+
version of the shared library must match the Perl version Vim was compiled
299+
with.
300+
293301
==============================================================================
294302
vim:tw=78:ts=8:ft=help:norl:

runtime/doc/if_pyth.txt

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_pyth.txt* For Vim version 7.4. Last change: 2014 Jul 23
1+
*if_pyth.txt* For Vim version 7.4. Last change: 2015 Oct 16
22

33

44
VIM REFERENCE MANUAL by Paul Moore
@@ -679,20 +679,26 @@ functions to evaluate Python expressions and pass their values to VimL.
679679
==============================================================================
680680
9. Dynamic loading *python-dynamic*
681681

682-
On MS-Windows the Python library can be loaded dynamically. The |:version|
683-
output then includes |+python/dyn|.
682+
On MS-Windows and Unix the Python library can be loaded dynamically. The
683+
|:version| output then includes |+python/dyn| or |+python3/dyn|.
684684

685-
This means that Vim will search for the Python DLL file only when needed.
686-
When you don't use the Python interface you don't need it, thus you can use
687-
Vim without this DLL file.
685+
This means that Vim will search for the Python DLL or shared library file only
686+
when needed. When you don't use the Python interface you don't need it, thus
687+
you can use Vim without this file.
688688

689-
To use the Python interface the Python DLL must be in your search path. In a
690-
console window type "path" to see what directories are used.
689+
On MS-Windows to use the Python interface the Python DLL must be in your search
690+
path. In a console window type "path" to see what directories are used.
691691

692692
The name of the DLL must match the Python version Vim was compiled with.
693693
Currently the name is "python24.dll". That is for Python 2.4. To know for
694694
sure edit "gvim.exe" and search for "python\d*.dll\c".
695695

696+
On Unix the 'pythondll' or 'python3dll' option can be used to specify the
697+
Python shared library file instead of DYNAMIC_PYTHON_DLL or
698+
DYNAMIC_PYTHON3_DLL file what were specified at compile time. The version of
699+
the shared library must match the Python 2.x or Python 3 version Vim was
700+
compiled with.
701+
696702
==============================================================================
697703
10. Python 3 *python3*
698704

runtime/doc/if_ruby.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_ruby.txt* For Vim version 7.4. Last change: 2015 Feb 22
1+
*if_ruby.txt* For Vim version 7.4. Last change: 2015 Oct 16
22

33

44
VIM REFERENCE MANUAL by Shugo Maeda
@@ -199,6 +199,8 @@ This means that Vim will search for the Ruby DLL file or shared library only
199199
when needed. When you don't use the Ruby interface you don't need it, thus
200200
you can use Vim even though this library file is not on your system.
201201

202+
MS-Windows ~
203+
202204
You need to install the right version of Ruby for this to work. You can find
203205
the package to download from:
204206
http://www.garbagecollect.jp/ruby/mswin32/en/download/release.html
@@ -216,5 +218,12 @@ and comment-out the check for _MSC_VER.
216218
You may also need to rename the include directory name to match the version,
217219
strangely for Ruby 1.9.3 the directory is called 1.9.1.
218220

221+
Unix ~
222+
223+
The 'rubydll' option can be used to specify the Ruby shared library file
224+
instead of DYNAMIC_RUBY_DLL file what was specified at compile time. The
225+
version of the shared library must match the Ruby version Vim was compiled
226+
with.
227+
219228
==============================================================================
220229
vim:tw=78:ts=8:ft=help:norl:

runtime/doc/options.txt

Lines changed: 58 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 7.4. Last change: 2015 Sep 15
1+
*options.txt* For Vim version 7.4. Last change: 2015 Nov 01
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1261,7 +1261,7 @@ A jump table for the options with a short description can be found at |Q_op|.
12611261
break if 'linebreak' is on. Only works for ASCII and also for 8-bit
12621262
characters when 'encoding' is an 8-bit encoding.
12631263

1264-
*'breakindent'* *'bri'*
1264+
*'breakindent'* *'bri'* *'nobreakindent'* *'nobri'*
12651265
'breakindent' 'bri' boolean (default off)
12661266
local to window
12671267
{not in Vi}
@@ -3425,7 +3425,7 @@ A jump table for the options with a short description can be found at |Q_op|.
34253425
modeline, see |sandbox-option|. That stops the option from working,
34263426
since changing the buffer text is not allowed.
34273427

3428-
*'fsync'* *'fs'*
3428+
*'fsync'* *'fs'* *'nofsync'* *'nofs'*
34293429
'fsync' 'fs' boolean (default on)
34303430
global
34313431
{not in Vi}
@@ -4776,7 +4776,7 @@ A jump table for the options with a short description can be found at |Q_op|.
47764776
:source $VIMRUNTIME/menu.vim
47774777
< Warning: This deletes all menus that you defined yourself!
47784778

4779-
*'langnoremap'* *'lnr'*
4779+
*'langnoremap'* *'lnr'* *'nolangnoremap'* *'nolnr'*
47804780
'langnoremap' 'lnr' boolean (default off)
47814781
global
47824782
{not in Vi}
@@ -4957,6 +4957,17 @@ A jump table for the options with a short description can be found at |Q_op|.
49574957
Note that using the "-u NONE" and "--noplugin" command line arguments
49584958
reset this option. |-u| |--noplugin|
49594959

4960+
*'luadll'*
4961+
'luadll' string (default empty)
4962+
global
4963+
{not in Vi} {only for Unix}
4964+
{only available when compiled with the |+lua/dyn|
4965+
feature}
4966+
Specifies the path of the Lua shared library instead of DYNAMIC_LUA_DLL
4967+
what was specified at compile time.
4968+
This option cannot be set from a |modeline| or in the |sandbox|, for
4969+
security reasons.
4970+
49604971
*'macatsui'* *'nomacatsui'*
49614972
'macatsui' boolean (default on)
49624973
global
@@ -5673,6 +5684,17 @@ A jump table for the options with a short description can be found at |Q_op|.
56735684
< Replace the ';' with a ':' or whatever separator is used. Note that
56745685
this doesn't work when $INCL contains a comma or white space.
56755686

5687+
*'perldll'*
5688+
'perldll' string (default empty)
5689+
global
5690+
{not in Vi} {only for Unix}
5691+
{only available when compiled with the |+perl/dyn|
5692+
feature}
5693+
Specifies the path of the Perl shared library instead of
5694+
DYNAMIC_PERL_DLL what was specified at compile time.
5695+
This option cannot be set from a |modeline| or in the |sandbox|, for
5696+
security reasons.
5697+
56765698
*'preserveindent'* *'pi'* *'nopreserveindent'* *'nopi'*
56775699
'preserveindent' 'pi' boolean (default off)
56785700
local to buffer
@@ -5799,6 +5821,27 @@ A jump table for the options with a short description can be found at |Q_op|.
57995821
Insert mode completion. When zero as much space as available is used.
58005822
|ins-completion-menu|.
58015823

5824+
*'python3dll'*
5825+
'python3dll' string (default empty)
5826+
global
5827+
{not in Vi} {only for Unix}
5828+
{only available when compiled with the |+python3/dyn|
5829+
feature}
5830+
Specifies the path of the Python 3 shared library instead of
5831+
DYNAMIC_PYTHON3_DLL what was specified at compile time.
5832+
This option cannot be set from a |modeline| or in the |sandbox|, for
5833+
security reasons.
5834+
5835+
*'pythondll'*
5836+
'pythondll' string (default empty)
5837+
global
5838+
{not in Vi} {only for Unix}
5839+
{only available when compiled with the |+python/dyn|
5840+
feature}
5841+
Specifies the path of the Python 2.x shared library instead of
5842+
DYNAMIC_PYTHON_DLL what was specified at compile time.
5843+
This option cannot be set from a |modeline| or in the |sandbox|, for
5844+
security reasons.
58025845

58035846
*'quoteescape'* *'qe'*
58045847
'quoteescape' 'qe' string (default "\")
@@ -6019,6 +6062,17 @@ A jump table for the options with a short description can be found at |Q_op|.
60196062
This is useful for languages such as Hebrew, Arabic and Farsi.
60206063
The 'rightleft' option must be set for 'rightleftcmd' to take effect.
60216064

6065+
*'rubydll'*
6066+
'rubydll' string (default empty)
6067+
global
6068+
{not in Vi} {only for Unix}
6069+
{only available when compiled with the |+ruby/dyn|
6070+
feature}
6071+
Specifies the path of the Ruby shared library instead of
6072+
DYNAMIC_RUBY_DLL what was specified at compile time.
6073+
This option cannot be set from a |modeline| or in the |sandbox|, for
6074+
security reasons.
6075+
60226076
*'ruler'* *'ru'* *'noruler'* *'noru'*
60236077
'ruler' 'ru' boolean (default off)
60246078
global

runtime/doc/pi_netrw.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pi_netrw.txt* For Vim version 7.4. Last change: 2015 Oct 30
1+
*pi_netrw.txt* For Vim version 7.4. Last change: 2015 Oct 31
22

33
------------------------------------------------
44
NETRW REFERENCE MANUAL by Charles E. Campbell
@@ -3438,7 +3438,7 @@ Example: Clear netrw's marked file list via a mapping on gu >
34383438
You probably want netrw running as in a side window. If so, you
34393439
will likely find that ":[N]Lexplore" does what you want. The
34403440
optional "[N]" allows you to select the quantity of columns you
3441-
wish the Lexplorer window to start with (see |g:netrw_winsize|
3441+
wish the |:Lexplore|r window to start with (see |g:netrw_winsize|
34423442
for how this parameter works).
34433443

34443444
Previous solution:

runtime/doc/todo.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 7.4. Last change: 2015 Oct 30
1+
*todo.txt* For Vim version 7.4. Last change: 2015 Oct 31
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -222,6 +222,9 @@ Is this right?
222222
Patch to have CTRL-A and CTRL-X update the '[ and '] marks.
223223
(Yukihiro Nakadaira, 2015 Aug 23)
224224

225+
On MS-Windows viminfo file is always given the hidden attribute? (raulnac,
226+
2015 Oct 30)
227+
225228
Patch to make getregtype() return the right size for non-linux systems.
226229
(Yasuhiro Matsumoto, 2014 Jul 8)
227230
Breaks test_eval. Inefficient, can we only compute y_width when needed?

runtime/ftplugin/hog.vim

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
" Vim filetype plugin
2+
" Language: hog (snort.conf)
3+
" Maintainer: . Victor Roemer, <[email protected]>.
4+
" Last Change: Mar 1, 2013
5+
6+
if exists("b:did_ftplugin")
7+
finish
8+
endif
9+
let b:did_ftplugin = 1
10+
11+
let s:undo_ftplugin = "setl fo< com< cms< def< inc<"
12+
13+
let s:cpo_save = &cpo
14+
set cpo&vim
15+
16+
setlocal formatoptions=croq
17+
setlocal comments=:#
18+
setlocal commentstring=\c#\ %s
19+
setlocal define=\c^\s\{-}var
20+
setlocal include=\c^\s\{-}include
21+
22+
" Move around configurations
23+
let s:hog_keyword_match = '\c^\s*\<\(preprocessor\\|config\\|output\\|include\\|ipvar\\|portvar\\|var\\|dynamicpreprocessor\\|' .
24+
\ 'dynamicengine\\|dynamicdetection\\|activate\\|alert\\|drop\\|block\\|dynamic\\|log\\|pass\\|reject\\|sdrop\\|sblock\)\>'
25+
26+
exec "nnoremap <buffer><silent> ]] :call search('" . s:hog_keyword_match . "', 'W' )<CR>"
27+
exec "nnoremap <buffer><silent> [[ :call search('" . s:hog_keyword_match . "', 'bW' )<CR>"
28+
29+
if exists("loaded_matchit")
30+
let b:match_words =
31+
\ '^\s*\<\%(preprocessor\|config\|output\|include\|ipvar\|portvar' .
32+
\ '\|var\|dynamicpreprocessor\|dynamicengine\|dynamicdetection' .
33+
\ '\|activate\|alert\|drop\|block\|dynamic\|log\|pass\|reject' .
34+
\ '\|sdrop\|sblock\>\):$,\::\,:;'
35+
let b:match_skip = 'r:\\.\{-}$\|^\s*#.\{-}$\|^\s*$'
36+
endif
37+
38+
let &cpo = s:cpo_save
39+
unlet s:cpo_save

0 commit comments

Comments
 (0)