mirror of
https://github.com/vim/vim
synced 2025-03-16 06:47:52 +01:00
Updated runtime files.
This commit is contained in:
parent
6384c5db8d
commit
64d8e25bf6
21 changed files with 106 additions and 79 deletions
|
@ -2,7 +2,7 @@
|
|||
" vim: tw=0 ts=4 sw=4
|
||||
" Vim color file
|
||||
" Maintainer: Ron Aaron <ron@ronware.org>
|
||||
" Last Change: 2013 May 23
|
||||
" Last Change: 2016 Sep 04
|
||||
|
||||
hi clear
|
||||
set background=dark
|
||||
|
@ -45,6 +45,7 @@ hi TabLineFill term=bold,reverse cterm=bold ctermfg=lightblue ctermbg=white g
|
|||
hi TabLineSel term=reverse ctermfg=white ctermbg=lightblue guifg=white guibg=blue
|
||||
hi Underlined term=underline cterm=bold,underline ctermfg=lightblue guifg=lightblue gui=bold,underline
|
||||
hi Ignore ctermfg=black ctermbg=black guifg=black guibg=black
|
||||
hi EndOfBuffer term=bold cterm=bold ctermfg=darkred guifg=#cc0000 gui=bold
|
||||
hi link IncSearch Visual
|
||||
hi link String Constant
|
||||
hi link Character Constant
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
*autocmd.txt* For Vim version 7.4. Last change: 2016 Jul 29
|
||||
*autocmd.txt* For Vim version 7.4. Last change: 2016 Sep 03
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -419,8 +419,8 @@ BufUnload Before unloading a buffer. This is when the
|
|||
NOTE: When this autocommand is executed, the
|
||||
current buffer "%" may be different from the
|
||||
buffer being unloaded "<afile>".
|
||||
Don't change to another buffer, it will cause
|
||||
problems.
|
||||
Don't change to another buffer or window, it
|
||||
will cause problems!
|
||||
When exiting and v:dying is 2 or more this
|
||||
event is not triggered.
|
||||
*BufWinEnter*
|
||||
|
@ -784,7 +784,9 @@ QuickFixCmdPre Before a quickfix command is run (|:make|,
|
|||
|:vimgrepadd|, |:lvimgrepadd|, |:cscope|,
|
||||
|:cfile|, |:cgetfile|, |:caddfile|, |:lfile|,
|
||||
|:lgetfile|, |:laddfile|, |:helpgrep|,
|
||||
|:lhelpgrep|).
|
||||
|:lhelpgrep|, |:cexpr|, |:cgetexpr|,
|
||||
|:caddexpr|, |:cbuffer|, |:cgetbuffer|,
|
||||
|:caddbuffer|).
|
||||
The pattern is matched against the command
|
||||
being run. When |:grep| is used but 'grepprg'
|
||||
is set to "internal" it still matches "grep".
|
||||
|
@ -1065,6 +1067,9 @@ Note that for all systems the '/' character is used for path separator (even
|
|||
MS-DOS and OS/2). This was done because the backslash is difficult to use
|
||||
in a pattern and to make the autocommands portable across different systems.
|
||||
|
||||
It is possible to use |pattern| items, but they may not work as expected,
|
||||
because of the translation done for the above.
|
||||
|
||||
*autocmd-changes*
|
||||
Matching with the pattern is done when an event is triggered. Changing the
|
||||
buffer name in one of the autocommands, or even deleting the buffer, does not
|
||||
|
@ -1163,11 +1168,12 @@ name!
|
|||
different from existing {event} names, as this
|
||||
most likely will not do what you intended.
|
||||
|
||||
*:augroup-delete* *E367* *W19*
|
||||
*:augroup-delete* *E367* *W19* *E936*
|
||||
:aug[roup]! {name} Delete the autocmd group {name}. Don't use
|
||||
this if there is still an autocommand using
|
||||
this group! You will get a warning if doing
|
||||
it anyway.
|
||||
it anyway. when the group is the current group
|
||||
you will get error E936.
|
||||
|
||||
To enter autocommands for a specific group, use this method:
|
||||
1. Select the group with ":augroup {name}".
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
*eval.txt* For Vim version 7.4. Last change: 2016 Sep 01
|
||||
*eval.txt* For Vim version 7.4. Last change: 2016 Sep 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -119,7 +119,7 @@ To test for a non-empty string, use empty(): >
|
|||
*non-zero-arg*
|
||||
Function arguments often behave slightly different from |TRUE|: If the
|
||||
argument is present and it evaluates to a non-zero Number, |v:true| or a
|
||||
non-empty String, then the value is considere to be TRUE.
|
||||
non-empty String, then the value is considered to be TRUE.
|
||||
Note that " " and "0" are also non-empty strings, thus cause the mode to be
|
||||
cleared. A List, Dictionary or Float is not a Number or String, thus
|
||||
evaluates to FALSE.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
*if_pyth.txt* For Vim version 7.4. Last change: 2015 Nov 10
|
||||
*if_pyth.txt* For Vim version 7.4. Last change: 2016 Sep 01
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Paul Moore
|
||||
|
@ -56,7 +56,11 @@ Example: >
|
|||
print 'EAT ME'
|
||||
EOF
|
||||
endfunction
|
||||
<
|
||||
|
||||
To see what version of Python you have: >
|
||||
:python import sys
|
||||
:python print(sys.version)
|
||||
|
||||
Note: Python is very sensitive to the indenting. Make sure the "class" line
|
||||
and "EOF" do not have any indent.
|
||||
|
||||
|
@ -745,6 +749,10 @@ The `:py3` and `:python3` commands work similar to `:python`. A simple check
|
|||
if the `:py3` command is working: >
|
||||
:py3 print("Hello")
|
||||
< *:py3file*
|
||||
To see what version of Python you have: >
|
||||
:py3 import sys
|
||||
:py3 print(sys.version)
|
||||
|
||||
The `:py3file` command works similar to `:pyfile`.
|
||||
*:py3do*
|
||||
The `:py3do` command works similar to `:pydo`.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
*if_ruby.txt* For Vim version 7.4. Last change: 2015 Dec 03
|
||||
*if_ruby.txt* For Vim version 7.4. Last change: 2016 Sep 01
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Shugo Maeda
|
||||
|
@ -205,7 +205,7 @@ MS-Windows ~
|
|||
You need to install the right version of Ruby for this to work. You can find
|
||||
the package to download from:
|
||||
http://www.garbagecollect.jp/ruby/mswin32/en/download/release.html
|
||||
Currently that is ruby-1.9.1-p429-i386-mswin32.zip
|
||||
Currently that is ruby-1.9.2-p136-i386-mswin32.zip
|
||||
|
||||
To use the Ruby interface the Ruby DLL must be in your search path. In a
|
||||
console window type "path" to see what directories are used. The 'rubydll'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
*message.txt* For Vim version 7.4. Last change: 2016 Jul 16
|
||||
*message.txt* For Vim version 7.4. Last change: 2016 Sep 01
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -39,6 +39,7 @@ back.
|
|||
Note: If the output has been stopped with "q" at the more prompt, it will only
|
||||
be displayed up to this point.
|
||||
The previous command output is cleared when another command produces output.
|
||||
The "g<" output is not redirected.
|
||||
|
||||
If you are using translated messages, the first printed line tells who
|
||||
maintains the messages or the translations. You can use this to contact the
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
*options.txt* For Vim version 7.4. Last change: 2016 Aug 27
|
||||
*options.txt* For Vim version 7.4. Last change: 2016 Sep 02
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -4922,10 +4922,11 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||
global
|
||||
Changes the special characters that can be used in search patterns.
|
||||
See |pattern|.
|
||||
NOTE: To avoid portability problems with using patterns, always keep
|
||||
this option at the default "on". Only switch it off when working with
|
||||
old Vi scripts. In any other situation write patterns that work when
|
||||
'magic' is on. Include "\M" when you want to |/\M|.
|
||||
WARNING: Switching this option off most likely breaks plugins! That
|
||||
is because many patterns assume it's on and will fail when it's off.
|
||||
Only switch it off when working with old Vi scripts. In any other
|
||||
situation write patterns that work when 'magic' is on. Include "\M"
|
||||
when you want to |/\M|.
|
||||
|
||||
*'makeef'* *'mef'*
|
||||
'makeef' 'mef' string (default: "")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
*starting.txt* For Vim version 7.4. Last change: 2016 Aug 27
|
||||
*starting.txt* For Vim version 7.4. Last change: 2016 Sep 03
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -1030,6 +1030,9 @@ If you don't like some of the defaults, you can still source defaults.vim and
|
|||
revert individual settings. See the defaults.vim file for hints on how to
|
||||
revert each item.
|
||||
|
||||
If you use a system-wide vimrc and don't want defaults.vim to change settings,
|
||||
set the "skip_defaults_vim" variable.
|
||||
|
||||
|
||||
Avoiding trojan horses ~
|
||||
*trojan-horse*
|
||||
|
|
|
@ -4485,6 +4485,7 @@ E932 eval.txt /*E932*
|
|||
E933 eval.txt /*E933*
|
||||
E934 sign.txt /*E934*
|
||||
E935 eval.txt /*E935*
|
||||
E936 autocmd.txt /*E936*
|
||||
E94 windows.txt /*E94*
|
||||
E95 message.txt /*E95*
|
||||
E96 diff.txt /*E96*
|
||||
|
@ -5245,6 +5246,7 @@ cc change.txt /*cc*
|
|||
ceil() eval.txt /*ceil()*
|
||||
ch.vim syntax.txt /*ch.vim*
|
||||
ch_close() eval.txt /*ch_close()*
|
||||
ch_close_in() eval.txt /*ch_close_in()*
|
||||
ch_evalexpr() eval.txt /*ch_evalexpr()*
|
||||
ch_evalraw() eval.txt /*ch_evalraw()*
|
||||
ch_getbufnr() eval.txt /*ch_getbufnr()*
|
||||
|
@ -5287,6 +5289,7 @@ changing change.txt /*changing*
|
|||
channel channel.txt /*channel*
|
||||
channel-callback channel.txt /*channel-callback*
|
||||
channel-close channel.txt /*channel-close*
|
||||
channel-close-in channel.txt /*channel-close-in*
|
||||
channel-commands channel.txt /*channel-commands*
|
||||
channel-demo channel.txt /*channel-demo*
|
||||
channel-functions usr_41.txt /*channel-functions*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
*term.txt* For Vim version 7.4. Last change: 2016 Apr 29
|
||||
*term.txt* For Vim version 7.4. Last change: 2016 Sep 02
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -426,6 +426,8 @@ Vim has started, the escape sequences may not be recognized anymore.
|
|||
Vim supports using true colors in the terminal (taken from |highlight-guifg|
|
||||
and |highlight-guibg|), given that the terminal supports this. To make this
|
||||
work the 'termguicolors' option needs to be set.
|
||||
See https://gist.github.com/XVilka/8346728 for a list of terminals that
|
||||
support true colors.
|
||||
|
||||
Sometimes setting 'termguicolors' is not enough and one has to set the |t_8f|
|
||||
and |t_8b| options explicitly. Default values of these options are
|
||||
|
@ -433,9 +435,8 @@ and |t_8b| options explicitly. Default values of these options are
|
|||
set when `$TERM` is `xterm`. Some terminals accept the same sequences, but
|
||||
with all semicolons replaced by colons (this is actually more compatible, but
|
||||
less widely supported): >
|
||||
set t_8f=^[[38:2:%lu:%lu:%lum
|
||||
set t_8b=^[[48:2:%lu:%lu:%lum
|
||||
(replace `^[` with real escape)
|
||||
let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
|
||||
let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
|
||||
|
||||
These options contain printf strings, with |printf()| (actually, its C
|
||||
equivalent hence `l` modifier) invoked with the t_ option value and three
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
*todo.txt* For Vim version 7.4. Last change: 2016 Aug 31
|
||||
*todo.txt* For Vim version 7.4. Last change: 2016 Sep 06
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -34,34 +34,20 @@ not be repeated below, unless there is extra information.
|
|||
*known-bugs*
|
||||
-------------------- Known bugs and current work -----------------------
|
||||
|
||||
Invalid memory access in do_pending_operator. (Dominique, 2016 Sep 5)
|
||||
|
||||
test_autocmd fails when run directly, passes when run through test_alot.
|
||||
|
||||
Make ":filter" work with more commands.
|
||||
Search for: msg_putchar('\n')
|
||||
|
||||
Try building with $SHADOWDIR
|
||||
|
||||
Test_sign_completion() fails on MS-Windows (console and GUI) Completion
|
||||
doesn't have both tb_paste.xpm and tb_print.xpm but "tb_p". Different default
|
||||
options?
|
||||
|
||||
Patch to trigger autocommands for :cexpr etc. (Yegappan, Aug 30, #1021)
|
||||
|
||||
Test_nb_basic() fails on MS-Windows GUI. line 12: Expected 2 but got 1.
|
||||
line 13: Expected 20 but got 1.
|
||||
|
||||
Figure out building with Ruby on MS-Windows.
|
||||
|
||||
Problem with 'incsearch'. (Mike Williams, 2016 Aug 31)
|
||||
|
||||
:cexpr doesn't trigger QuickFixCmdPost. (Mathias Stearn, 2016 Aug 29, #1021)
|
||||
Needs documentation. (Yegappan)
|
||||
|
||||
Patch to convert test_marks to new style. (Yegappan, 2016 Aug 28, 2 msg)
|
||||
|
||||
Patch to make it possible to define a test but skip it, by throwing an
|
||||
exception. (Christian Brabandt, 2016 Aug 30)
|
||||
|
||||
+channel:
|
||||
- option to not put "Reading from channel" in the buffer.
|
||||
- Add 'cwd' argument: directory to change to in the child.
|
||||
check for valid directory before forking.
|
||||
- channel_wait() may return an error while there is still something to read.
|
||||
Perhaps try to read once?
|
||||
- Problem with stderr on Windows? (Vincent Rischmann, 2016 Aug 31, #1026)
|
||||
- Implement |job-term| ?
|
||||
- Channel test fails with Motif. Sometimes kills the X11 server.
|
||||
- When a message in the queue but there is no callback, drop it after a while?
|
||||
|
@ -157,12 +143,18 @@ Invalid behavior with NULL list. (Nikolai Pavlov, #768)
|
|||
For current Windows build .pdb file is missing. (Gabriele Fava, 2016 May 11)
|
||||
5)
|
||||
|
||||
min() and max() spawn lots of error messages if sorted list/dictionary
|
||||
contains invalid data (Nikolay Pavlov, 2016 Sep 4, #1039)
|
||||
|
||||
Patch to fix compiler warning with gtk3. (Kazunobu Kuriyama, 2016 Aug 24)
|
||||
|
||||
Problem with whitespace in errorformat. (Gerd Wachsmuth, 2016 May 15, #807)
|
||||
|
||||
Undo problem: "g-" doesn't go back, gets stuck. (Björn Linse, 2016 Jul 18)
|
||||
|
||||
sort() is not stable when using numeric/float sort (Nikolay Pavlov, 2016 Sep
|
||||
4#1038)
|
||||
|
||||
cmap using execute() has side effects. (Killthemule, 2016 Aug 17, #983)
|
||||
|
||||
Syntax highlighting for messages with RFC3339 timestamp (#946)
|
||||
|
@ -197,8 +189,12 @@ This does not work: :set cscopequickfix=a-
|
|||
|
||||
Possibly wrong value for seq_cur. (Florent Fayolle, 2016 May 15, #806)
|
||||
|
||||
Filetype plugin for awk. (Doug Kearns, 2016 Sep 5)
|
||||
|
||||
Patch to improve map documentation. Issue #799.
|
||||
|
||||
Patch for syntax folding optimization. (Shougo, 2016 Sep 6, #1045)
|
||||
|
||||
Patch for restoring wide characters in the console buffer.
|
||||
(Ken Takata, 2016 Jun 7)
|
||||
|
||||
|
@ -242,6 +238,9 @@ Add redrawtabline command. (Naruhiko Nishino, 2016 Jun 11)
|
|||
|
||||
Neovim patch for utfc_ptr2char_len() https://github.com/neovim/neovim/pull/4574
|
||||
No test, needs some work to include.
|
||||
|
||||
Patch to make finding duplicate tags much faster, using a hashtab. (James
|
||||
McCoy, 2016 Sept 6, #1046)
|
||||
>
|
||||
Patch to improve indenting for C++ constructor with initializer list.
|
||||
(Hirohito Higashi, 2016 Mar 31)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
*usr_41.txt* For Vim version 7.4. Last change: 2016 Aug 07
|
||||
*usr_41.txt* For Vim version 7.4. Last change: 2016 Sep 01
|
||||
|
||||
VIM USER MANUAL - by Bram Moolenaar
|
||||
|
||||
|
@ -932,6 +932,7 @@ Testing: *test-functions*
|
|||
Inter-process communication: *channel-functions*
|
||||
ch_open() open a channel
|
||||
ch_close() close a channel
|
||||
ch_close_in() close the in part of a channel
|
||||
ch_read() read a message from a channel
|
||||
ch_readraw() read a raw message from a channel
|
||||
ch_sendexpr() send a JSON message over a channel
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
*various.txt* For Vim version 7.4. Last change: 2016 Aug 26
|
||||
*various.txt* For Vim version 7.4. Last change: 2016 Sep 06
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -422,7 +422,7 @@ N *+statusline* Options 'statusline', 'rulerformat' and special
|
|||
m *+sun_workshop* |workshop|
|
||||
N *+syntax* Syntax highlighting |syntax|
|
||||
*+system()* Unix only: opposite of |+fork|
|
||||
N *+tag_binary* binary searching in tags file |tag-binary-search|
|
||||
T *+tag_binary* binary searching in tags file |tag-binary-search|
|
||||
N *+tag_old_static* old method for static tags |tag-old-static|
|
||||
m *+tag_any_white* any white space allowed in tags file |tag-any-white|
|
||||
m *+tcl* Tcl interface |tcl|
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
*version8.txt* For Vim version 8.0. Last change: 2016 Aug 28
|
||||
*version8.txt* For Vim version 8.0. Last change: 2016 Sep 05
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
|
@ -243,6 +243,7 @@ New and extended functions: ~
|
|||
|bufwinid()| get the window ID of a specific buffer
|
||||
|byteidxcomp()| like byteidx() but count composing characters
|
||||
|ch_close()| close a channel
|
||||
|ch_close_in()| close the in part of a channel
|
||||
|ch_evalexpr()| evaluates an expression over channel
|
||||
|ch_evalraw()| evaluates a raw string over channel
|
||||
|ch_getbufnr()| get the buffer number of a channel
|
||||
|
@ -6364,7 +6365,7 @@ Files: src/testdir/Make_dos.mak
|
|||
|
||||
Patch 7.4.995
|
||||
Problem: gdk_pixbuf_new_from_inline() is deprecated.
|
||||
Solution: Generate auto/gui_gtk_gresources.c. (Kazunobu Kazunobu,
|
||||
Solution: Generate auto/gui_gtk_gresources.c. (Kazunobu Kuriyama,
|
||||
closes #507)
|
||||
Files: src/Makefile, src/auto/configure, src/config.h.in,
|
||||
src/config.mk.in, src/configure.in, src/gui_gtk.c,
|
||||
|
@ -7848,7 +7849,7 @@ Files: src/os_win32.c
|
|||
Patch 7.4.1231
|
||||
Problem: JSON messages are not parsed properly.
|
||||
Solution: Queue received messages.
|
||||
Files: src/eval,c src/channel.c, src/json.c, src/proto/eval.pro,
|
||||
Files: src/eval.c src/channel.c, src/json.c, src/proto/eval.pro,
|
||||
src/proto/channel.pro, src/proto/json.pro, src/structs.h
|
||||
|
||||
Patch 7.4.1232
|
||||
|
@ -9312,7 +9313,7 @@ Problem: ":loadplugin" is not optimal, some people find it confusing.
|
|||
Solution: Only use ":packadd" with an optional "!".
|
||||
Files: src/ex_cmds.h, src/ex_cmds2.c, src/testdir/test_loadplugin.vim,
|
||||
src/testdir/test_packadd.vim, src/testdir/Make_all.mak,
|
||||
runtime/doc/repeat.txt.
|
||||
runtime/doc/repeat.txt
|
||||
|
||||
Patch 7.4.1487
|
||||
Problem: For WIN32 isinf() is defined as a macro.
|
||||
|
@ -10164,7 +10165,7 @@ Files: src/ops.c, src/testdir/test_increment.vim
|
|||
Patch 7.4.1635
|
||||
Problem: Channel test is a bit flaky.
|
||||
Solution: Remove 'DETACH' if it's there.
|
||||
Files: src/test_channel.vim
|
||||
Files: src/testdir/test_channel.vim
|
||||
|
||||
Patch 7.4.1636
|
||||
Problem: When 'F' is in 'shortmess' the prompt for the encryption key isn't
|
||||
|
@ -10824,7 +10825,7 @@ Files: src/normal.c, src/testdir/test_goto.vim, src/testdir/test_alot.vim
|
|||
Patch 7.4.1749
|
||||
Problem: When using GTK 3.20 there are a few warnings.
|
||||
Solution: Use new functions when available. (Kazunobu Kuriyama)
|
||||
Files: src/gui_beval,c src/gui_gtk_x11.c
|
||||
Files: src/gui_beval.c src/gui_gtk_x11.c
|
||||
|
||||
Patch 7.4.1750
|
||||
Problem: When a buffer gets updated while in command line mode, the screen
|
||||
|
@ -13020,7 +13021,7 @@ Files: src/evalfunc.c, src/version.c, src/testdir/test_lambda.vim
|
|||
|
||||
Patch 7.4.2122 (after 7.4.2118)
|
||||
Problem: Mac: don't get +clipboard in huge build.
|
||||
Solution: Move #define down below including featureh.h
|
||||
Solution: Move #define down below including feature.h
|
||||
Files: src/vim.h
|
||||
|
||||
Patch 7.4.2123
|
||||
|
@ -13145,7 +13146,7 @@ Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c,
|
|||
src/testdir/test_lambda.vim
|
||||
|
||||
Patch 7.4.2144
|
||||
Problem: On MS-Windows quickix does not handle a line with 1023 bytes
|
||||
Problem: On MS-Windows quickfix does not handle a line with 1023 bytes
|
||||
ending in CR-LF properly.
|
||||
Solution: Don't consider CR a line break. (Ken Takata)
|
||||
Files: src/quickfix.c
|
||||
|
@ -13605,7 +13606,7 @@ Files: src/getchar.c, src/proto/getchar.pro, src/misc1.c,
|
|||
Patch 7.4.2223
|
||||
Problem: Buffer overflow when using latin1 character with feedkeys().
|
||||
Solution: Check for an illegal character. Add a test.
|
||||
Files: src/testdir/test_regexp_utf8.vim, src/testdir/test_source.vim,
|
||||
Files: src/testdir/test_regexp_utf8.vim, src/testdir/test_source_utf8.vim,
|
||||
src/testdir/test_alot_utf8.vim, src/Makefile, src/getchar.c,
|
||||
src/macros.h, src/evalfunc.c, src/os_unix.c, src/os_win32.c,
|
||||
src/spell.c,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
" Language: python
|
||||
" Maintainer: James Sully <sullyj3@gmail.com>
|
||||
" Previous Maintainer: Johannes Zellner <johannes@zellner.org>
|
||||
" Last Change: Wed, 29 June 2016
|
||||
" Last Change: Fri, 02 September 2016
|
||||
" https://github.com/sullyj3/vim-ftplugin-python
|
||||
|
||||
if exists("b:did_ftplugin") | finish | endif
|
||||
|
@ -22,10 +22,10 @@ setlocal omnifunc=pythoncomplete#Complete
|
|||
|
||||
set wildignore+=*.pyc
|
||||
|
||||
nnoremap <silent> <buffer> ]] :call <SID>Python_jump('n', '\v%$\|^(class\|def)>', 'W')<cr>
|
||||
nnoremap <silent> <buffer> [[ :call <SID>Python_jump('n', '\v^(class\|def)>', 'Wb')<cr>
|
||||
nnoremap <silent> <buffer> ]m :call <SID>Python_jump('n', '\v%$\|^\s*(class\|def)>', 'W')<cr>
|
||||
nnoremap <silent> <buffer> [m :call <SID>Python_jump('n', '\v^\s*(class\|def)>', 'Wb')<cr>
|
||||
noremap <silent> <buffer> ]] :call <SID>Python_jump('n', '\v%$\|^(class\|def)>', 'W')<cr>
|
||||
noremap <silent> <buffer> [[ :call <SID>Python_jump('n', '\v^(class\|def)>', 'Wb')<cr>
|
||||
noremap <silent> <buffer> ]m :call <SID>Python_jump('n', '\v%$\|^\s*(class\|def)>', 'W')<cr>
|
||||
noremap <silent> <buffer> [m :call <SID>Python_jump('n', '\v^\s*(class\|def)>', 'Wb')<cr>
|
||||
|
||||
xnoremap <silent> <buffer> ]] :call <SID>Python_jump('x', '\v%$\|^(class\|def)>', 'W')<cr>
|
||||
xnoremap <silent> <buffer> [[ :call <SID>Python_jump('x', '\v^(class\|def)>', 'Wb')<cr>
|
||||
|
|
|
@ -32,6 +32,4 @@ setlocal includeexpr='substitute(v:fname,"\\.","/","g")'
|
|||
setlocal path+=src/main/scala,src/test/scala
|
||||
setlocal suffixesadd=.scala
|
||||
|
||||
compiler sbt
|
||||
|
||||
" vim:set sw=2 sts=2 ts=8 et:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
" Vim syntax file
|
||||
" Language: awk, nawk, gawk, mawk
|
||||
" Maintainer: Antonio Colombo <azc100@gmail.com>
|
||||
" Last Change: 2016 Jul 15
|
||||
" Last Change: 2016 Sep 05
|
||||
|
||||
" AWK ref. is: Alfred V. Aho, Brian W. Kernighan, Peter J. Weinberger
|
||||
" The AWK Programming Language, Addison-Wesley, 1988
|
||||
|
@ -71,6 +71,10 @@ syn keyword awkVariables ARGC ARGV ARGIND ENVIRON ERRNO FILENAME
|
|||
syn keyword awkVariables FNR NF FUNCTAB NR PROCINFO RLENGTH RSTART
|
||||
syn keyword awkVariables RT SYMTAB
|
||||
|
||||
" Arithmetic operators: +, and - take care of ++, and --
|
||||
syn match awkOperator "+\|-\|\*\|/\|%\|="
|
||||
syn match awkOperator "+=\|-=\|\*=\|/=\|%="
|
||||
syn match awkOperator "\^\|\^="
|
||||
|
||||
" Octal format character.
|
||||
syn match awkSpecialCharacter display contained "\\[0-7]\{1,3\}"
|
||||
|
@ -124,11 +128,6 @@ syn case match
|
|||
|
||||
"syn match awkIdentifier "\<[a-zA-Z_][a-zA-Z0-9_]*\>"
|
||||
|
||||
" Arithmetic operators: +, and - take care of ++, and --
|
||||
syn match awkOperator "+\|-\|\*\|/\|%\|="
|
||||
syn match awkOperator "+=\|-=\|\*=\|/=\|%="
|
||||
syn match awkOperator "^\|^="
|
||||
|
||||
" Comparison expressions.
|
||||
syn match awkExpression "==\|>=\|=>\|<=\|=<\|\!="
|
||||
syn match awkExpression "\~\|\!\~"
|
||||
|
@ -167,7 +166,6 @@ syn region awkArray transparent start="\[" end="\]" contains=awkArray,awkArrayE
|
|||
syn sync ccomment awkArray maxlines=10
|
||||
|
||||
" Define the default highlighting.
|
||||
" Only used when an item doesn't have highlighting yet
|
||||
hi def link awkConditional Conditional
|
||||
hi def link awkFunction Function
|
||||
hi def link awkRepeat Repeat
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
" Vim syntax file
|
||||
" Language: Vim help file
|
||||
" Maintainer: Bram Moolenaar (Bram@vim.org)
|
||||
" Last Change: 2016 Apr 01
|
||||
" Last Change: 2016 Sep 02
|
||||
|
||||
" Quit when a (custom) syntax file was already loaded
|
||||
if exists("b:current_syntax")
|
||||
|
@ -54,6 +54,7 @@ else
|
|||
syn match helpIgnore "." contained
|
||||
endif
|
||||
syn keyword helpNote note Note NOTE note: Note: NOTE: Notes Notes:
|
||||
syn keyword helpWarning WARNING: Warning:
|
||||
syn match helpSpecial "\<N\>"
|
||||
syn match helpSpecial "\<N\.$"me=e-1
|
||||
syn match helpSpecial "\<N\.\s"me=e-2
|
||||
|
@ -169,6 +170,7 @@ hi def link helpOption Type
|
|||
hi def link helpNotVi Special
|
||||
hi def link helpSpecial Special
|
||||
hi def link helpNote Todo
|
||||
hi def link helpWarning Todo
|
||||
|
||||
hi def link helpComment Comment
|
||||
hi def link helpConstant Constant
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
" Vim syntax file
|
||||
" Language: PROLOG
|
||||
" Maintainers: Thomas Koehler <jean-luc@picard.franken.de>
|
||||
" Last Change: 2013 May 23
|
||||
" Maintainer: Thomas Koehler <jean-luc@picard.franken.de>
|
||||
" Please be aware: I'm often slow to answer email due to a high
|
||||
" non-computer related workload (sometimes 4-8 weeks)
|
||||
" Last Change: 2016 September 6
|
||||
" URL: http://gott-gehabt.de/800_wer_wir_sind/thomas/Homepage/Computer/vim/syntax/prolog.vim
|
||||
|
||||
" There are two sets of highlighting in here:
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
" Vim syntax file
|
||||
" Language: Motif UIL (User Interface Language)
|
||||
" Maintainer: Thomas Koehler <jean-luc@picard.franken.de>
|
||||
" Last Change: 2013 May 23
|
||||
" Please be aware: I'm often slow to answer email due to a high
|
||||
" non-computer related workload (sometimes 4-8 weeks)
|
||||
" Last Change: 2016 September 6
|
||||
" URL: http://gott-gehabt.de/800_wer_wir_sind/thomas/Homepage/Computer/vim/syntax/uil.vim
|
||||
|
||||
" quit when a syntax file was already loaded
|
||||
|
|
|
@ -77,7 +77,7 @@ syn case match
|
|||
|
||||
" Function Names {{{2
|
||||
syn keyword vimFuncName contained abs append argv assert_fails assert_notequal atan2 buflisted bufwinid byteidxcomp char2nr ch_getbufnr ch_logfile ch_sendexpr cindent complete_add cos cursor diff_filler eval exepath extend filter floor foldclosed foldtextresult garbagecollect getbufvar getcmdline getcompletion getfperm getline getpos gettabinfo getwinposx glob2regpat haslocaldir histget hostname input inputsave isdirectory job_getchannel job_status js_decode json_encode libcall line2byte log map match matcharg matchlist max mode nr2char perleval printf pyeval reltime remote_expr remote_read rename reverse screenchar search searchpairpos serverlist setcmdpos setloclist setqflist settabwinvar shellescape sin soundfold split str2nr strdisplaywidth stridx strpart strwidth synconcealed synIDtrans systemlist tabpagewinnr tan test_alloc_fail test_garbagecollect_now test_null_job test_null_string timer_pause timer_stopall tr undofile values wildmenumode win_findbuf winheight winline winrestview wordcount
|
||||
syn keyword vimFuncName contained acos argc asin assert_false assert_notmatch browse bufloaded bufwinnr call ch_close ch_getjob ch_open ch_sendraw clearmatches complete_check cosh deepcopy diff_hlID eventhandler exists feedkeys finddir fmod foldclosedend foreground get getchar getcmdpos getcurpos getfsize getloclist getqflist gettabvar getwinposy globpath hasmapto histnr iconv inputdialog inputsecret islocked job_info job_stop js_encode keys libcallnr lispindent log10 maparg matchadd matchdelete matchstr min mzeval or pow pumvisible range reltimefloat remote_foreground remote_send repeat round screencol searchdecl searchpos setbufvar setfperm setmatches setreg setwinvar shiftwidth sinh spellbadword sqrt strcharpart strftime string strridx submatch synID synstack tabpagebuflist tagfiles tanh test_autochdir test_null_channel test_null_list test_settime timer_start tolower trunc undotree virtcol winbufnr win_getid win_id2tabwin winnr winsaveview writefile
|
||||
syn keyword vimFuncName contained acos argc asin assert_false assert_notmatch browse bufloaded bufwinnr call ch_close ch_close_in ch_getjob ch_open ch_sendraw clearmatches complete_check cosh deepcopy diff_hlID eventhandler exists feedkeys finddir fmod foldclosedend foreground get getchar getcmdpos getcurpos getfsize getloclist getqflist gettabvar getwinposy globpath hasmapto histnr iconv inputdialog inputsecret islocked job_info job_stop js_encode keys libcallnr lispindent log10 maparg matchadd matchdelete matchstr min mzeval or pow pumvisible range reltimefloat remote_foreground remote_send repeat round screencol searchdecl searchpos setbufvar setfperm setmatches setreg setwinvar shiftwidth sinh spellbadword sqrt strcharpart strftime string strridx submatch synID synstack tabpagebuflist tagfiles tanh test_autochdir test_null_channel test_null_list test_settime timer_start tolower trunc undotree virtcol winbufnr win_getid win_id2tabwin winnr winsaveview writefile
|
||||
syn keyword vimFuncName contained add argidx assert_equal assert_inrange assert_true browsedir bufname byte2line ceil ch_evalexpr ch_info ch_read ch_setoptions col confirm count delete empty executable exp filereadable findfile fnameescape foldlevel funcref getbufinfo getcharmod getcmdtype getcwd getftime getmatches getreg gettabwinvar getwinvar has histadd hlexists indent inputlist insert isnan job_setoptions join json_decode len line localtime luaeval mapcheck matchaddpos matchend matchstrpos mkdir nextnonblank pathshorten prevnonblank py3eval readfile reltimestr remote_peek remove resolve screenattr screenrow searchpair server2client setcharsearch setline setpos settabvar sha256 simplify sort spellsuggest str2float strchars strgetchar strlen strtrans substitute synIDattr system tabpagenr taglist tempname test_disable_char_avail test_null_dict test_null_partial timer_info timer_stop toupper type uniq visualmode wincol win_gotoid win_id2win winrestcmd winwidth xor
|
||||
syn keyword vimFuncName contained and arglistid assert_exception assert_match atan bufexists bufnr byteidx changenr ch_evalraw ch_log ch_readraw ch_status complete copy cscope_connection did_filetype escape execute expand filewritable float2nr fnamemodify foldtext function getbufline getcharsearch getcmdwintype getfontname getftype getpid getregtype getwininfo glob has_key histdel hlID index inputrestore invert items job_start
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue