forked from aniani/vim
update a few runtime files
This commit is contained in:
parent
a47ebdbd22
commit
df980db69b
@ -1,4 +1,4 @@
|
|||||||
*options.txt* For Vim version 8.0. Last change: 2017 Dec 01
|
*options.txt* For Vim version 8.0. Last change: 2017 Dec 21
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -5749,11 +5749,11 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
copy of the original file will be kept. The name of the copy is the
|
copy of the original file will be kept. The name of the copy is the
|
||||||
name of the original file with the string in the 'patchmode' option
|
name of the original file with the string in the 'patchmode' option
|
||||||
appended. This option should start with a dot. Use a string like
|
appended. This option should start with a dot. Use a string like
|
||||||
".org". 'backupdir' must not be empty for this to work (Detail: The
|
".orig" or ".org". 'backupdir' must not be empty for this to work
|
||||||
backup file is renamed to the patchmode file after the new file has
|
(Detail: The backup file is renamed to the patchmode file after the
|
||||||
been successfully written, that's why it must be possible to write a
|
new file has been successfully written, that's why it must be possible
|
||||||
backup file). If there was no file to be backed up, an empty file is
|
to write a backup file). If there was no file to be backed up, an
|
||||||
created.
|
empty file is created.
|
||||||
When the 'backupskip' pattern matches, a patchmode file is not made.
|
When the 'backupskip' pattern matches, a patchmode file is not made.
|
||||||
Using 'patchmode' for compressed files appends the extension at the
|
Using 'patchmode' for compressed files appends the extension at the
|
||||||
end (e.g., "file.gz.orig"), thus the resulting name isn't always
|
end (e.g., "file.gz.orig"), thus the resulting name isn't always
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*syntax.txt* For Vim version 8.0. Last change: 2017 Sep 30
|
*syntax.txt* For Vim version 8.0. Last change: 2017 Dec 22
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -5031,6 +5031,8 @@ TabLine tab pages line, not active tab page label
|
|||||||
TabLineFill tab pages line, where there are no labels
|
TabLineFill tab pages line, where there are no labels
|
||||||
*hl-TabLineSel*
|
*hl-TabLineSel*
|
||||||
TabLineSel tab pages line, active tab page label
|
TabLineSel tab pages line, active tab page label
|
||||||
|
*hl-Terminal*
|
||||||
|
Terminal |terminal| window (see |terminal-size-color|)
|
||||||
*hl-Title*
|
*hl-Title*
|
||||||
Title titles for output from ":set all", ":autocmd" etc.
|
Title titles for output from ":set all", ":autocmd" etc.
|
||||||
*hl-Visual*
|
*hl-Visual*
|
||||||
|
@ -6828,6 +6828,7 @@ hl-StatusLineNC syntax.txt /*hl-StatusLineNC*
|
|||||||
hl-TabLine syntax.txt /*hl-TabLine*
|
hl-TabLine syntax.txt /*hl-TabLine*
|
||||||
hl-TabLineFill syntax.txt /*hl-TabLineFill*
|
hl-TabLineFill syntax.txt /*hl-TabLineFill*
|
||||||
hl-TabLineSel syntax.txt /*hl-TabLineSel*
|
hl-TabLineSel syntax.txt /*hl-TabLineSel*
|
||||||
|
hl-Terminal syntax.txt /*hl-Terminal*
|
||||||
hl-Title syntax.txt /*hl-Title*
|
hl-Title syntax.txt /*hl-Title*
|
||||||
hl-Tooltip syntax.txt /*hl-Tooltip*
|
hl-Tooltip syntax.txt /*hl-Tooltip*
|
||||||
hl-User1 syntax.txt /*hl-User1*
|
hl-User1 syntax.txt /*hl-User1*
|
||||||
@ -8064,6 +8065,7 @@ quake.vim syntax.txt /*quake.vim*
|
|||||||
quickfix quickfix.txt /*quickfix*
|
quickfix quickfix.txt /*quickfix*
|
||||||
quickfix-6 version6.txt /*quickfix-6*
|
quickfix-6 version6.txt /*quickfix-6*
|
||||||
quickfix-ID quickfix.txt /*quickfix-ID*
|
quickfix-ID quickfix.txt /*quickfix-ID*
|
||||||
|
quickfix-changedtick quickfix.txt /*quickfix-changedtick*
|
||||||
quickfix-context quickfix.txt /*quickfix-context*
|
quickfix-context quickfix.txt /*quickfix-context*
|
||||||
quickfix-directory-stack quickfix.txt /*quickfix-directory-stack*
|
quickfix-directory-stack quickfix.txt /*quickfix-directory-stack*
|
||||||
quickfix-error-lists quickfix.txt /*quickfix-error-lists*
|
quickfix-error-lists quickfix.txt /*quickfix-error-lists*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*terminal.txt* For Vim version 8.0. Last change: 2017 Dec 17
|
*terminal.txt* For Vim version 8.0. Last change: 2017 Dec 22
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -122,7 +122,8 @@ and background colors are taken from Vim, the Normal highlight group.
|
|||||||
For a color terminal the 'background' option is used to decide whether the
|
For a color terminal the 'background' option is used to decide whether the
|
||||||
terminal window will start with a white or black background.
|
terminal window will start with a white or black background.
|
||||||
|
|
||||||
To use a different color the Terminal highlight group can be used: >
|
To use a different color the Terminal highlight group can be used, for
|
||||||
|
example: >
|
||||||
hi Terminal ctermbg=lightgrey ctermfg=blue guibg=lightgrey guifg=blue
|
hi Terminal ctermbg=lightgrey ctermfg=blue guibg=lightgrey guifg=blue
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*todo.txt* For Vim version 8.0. Last change: 2017 Dec 17
|
*todo.txt* For Vim version 8.0. Last change: 2017 Dec 23
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -142,11 +142,19 @@ Suggested by Hiroki Kokubun:
|
|||||||
Include solarized color scheme?, it does not support termguicolors.
|
Include solarized color scheme?, it does not support termguicolors.
|
||||||
- Sanitized version of pablo (Lifepillar, 2017 Nov 21)
|
- Sanitized version of pablo (Lifepillar, 2017 Nov 21)
|
||||||
|
|
||||||
heap use after free. (gy741, #2447)
|
Reproducible:
|
||||||
heap use after free in set_bufref (gy741, #2448)
|
invalid memory access in regexp with zero-width.
|
||||||
reproduces with valgrind (Dominique)
|
reproduced by Dominique, 2017 Dec 23
|
||||||
heap use after free in getout. (gy741, #2449)
|
heap-use-after-free in win_equal_rec (#2467)
|
||||||
reproduces with valgrind (Dominique)
|
au* 0 vs¡
|
||||||
|
ar0
|
||||||
|
arga
|
||||||
|
al
|
||||||
|
al
|
||||||
|
|
||||||
|
Errors found with random data:
|
||||||
|
heap-buffer-overflow in alist_add (#2472)
|
||||||
|
heap-buffer-overflow in del_bytes (#2466)
|
||||||
|
|
||||||
Compiler warnings (geeknik, 2017 Oct 26):
|
Compiler warnings (geeknik, 2017 Oct 26):
|
||||||
- signed integer overflow in do_sub() (#2249)
|
- signed integer overflow in do_sub() (#2249)
|
||||||
@ -155,20 +163,13 @@ Compiler warnings (geeknik, 2017 Oct 26):
|
|||||||
- signed integer overflow in nfa_regatom() (#2251)
|
- signed integer overflow in nfa_regatom() (#2251)
|
||||||
- undefined left shift in get_string_tv() (#2250)
|
- undefined left shift in get_string_tv() (#2250)
|
||||||
|
|
||||||
Triggering CursorHoldI happens too often in the GUI. (#2451).
|
balloon_show() does not work properly in the terminal. (Ben Jackson, 2017 Dec
|
||||||
Should move code from os_unix.c mch_inchar() up into common use, it's not
|
20, #2481)
|
||||||
really machine specific. Also the part of WaitForChar(), it deals with timers
|
Also see #2352, want better control over balloon, perhaps set the position.
|
||||||
and is also for all machines.
|
|
||||||
|
|
||||||
When starting with --clean packages under "start" are not loaded. Make this
|
|
||||||
work: :packadd START {name} similar to :runtime START name
|
|
||||||
|
|
||||||
When using :packadd files under "later" are not used, which is inconsistent
|
When using :packadd files under "later" are not used, which is inconsistent
|
||||||
with packages under "start". (xtal8, #1994)
|
with packages under "start". (xtal8, #1994)
|
||||||
|
|
||||||
Patch to add changedtick var to quickfix list. (Yegappan Lakshmanan, 2017 Nov
|
|
||||||
18, #2391)
|
|
||||||
|
|
||||||
7 Add a watchpoint in the debug mode: An expression that breaks execution
|
7 Add a watchpoint in the debug mode: An expression that breaks execution
|
||||||
when evaluating to non-zero. Add the "watchadd expr" command, stop when
|
when evaluating to non-zero. Add the "watchadd expr" command, stop when
|
||||||
the value of the expression changes. ":watchdel" deletes an item,
|
the value of the expression changes. ":watchdel" deletes an item,
|
||||||
@ -212,6 +213,9 @@ Error in emsg with buggy script. (Dominique, 2017 Apr 30)
|
|||||||
Patch to avoid clearing the intro message on Win32 console.
|
Patch to avoid clearing the intro message on Win32 console.
|
||||||
(Ken Takata, 2017 Nov 14)
|
(Ken Takata, 2017 Nov 14)
|
||||||
|
|
||||||
|
Patch to fix encoding in print document name (Yasuhiro Matsumoto, 2017 Dec 20,
|
||||||
|
#2478)
|
||||||
|
|
||||||
Patch to copy buffer-local options before buffer leaves the window. (Bjorn
|
Patch to copy buffer-local options before buffer leaves the window. (Bjorn
|
||||||
Linse, 2017 Nov 14, #2336)
|
Linse, 2017 Nov 14, #2336)
|
||||||
|
|
||||||
@ -233,6 +237,9 @@ Ask whether to use Windows or Vim key behavior?
|
|||||||
Patch for improving detecting Ruby on Mac in configure. (Ilya Mikhaltsou, 2017
|
Patch for improving detecting Ruby on Mac in configure. (Ilya Mikhaltsou, 2017
|
||||||
Nov 21)
|
Nov 21)
|
||||||
|
|
||||||
|
Add a ModeChanged autocommand that has an argument indicating the old and new
|
||||||
|
mode. Also used for switching Terminal mode.
|
||||||
|
|
||||||
When using command line window, CmdlineLeave is triggered without
|
When using command line window, CmdlineLeave is triggered without
|
||||||
CmdlineEnter. (xtal8, 2017 Oct 30, #2263)
|
CmdlineEnter. (xtal8, 2017 Oct 30, #2263)
|
||||||
Add some way to get the nested state. Although CmdwinEnter is obviously
|
Add some way to get the nested state. Although CmdwinEnter is obviously
|
||||||
@ -271,6 +278,7 @@ The ":move" command does not honor closed folds. (Ryan Lue, #2351)
|
|||||||
Memory leaks in test_channel? (or is it because of fork())
|
Memory leaks in test_channel? (or is it because of fork())
|
||||||
Memory leak in test_arabic.
|
Memory leak in test_arabic.
|
||||||
Using uninitialized value in test_crypt.
|
Using uninitialized value in test_crypt.
|
||||||
|
Memory leaks in test_escaped_glob
|
||||||
|
|
||||||
Patch to clear background when "guibg=NONE" is used and 'termguicolors' is
|
Patch to clear background when "guibg=NONE" is used and 'termguicolors' is
|
||||||
set.
|
set.
|
||||||
@ -1052,8 +1060,6 @@ Patch to open folds for 'incsearch'. (Christian Brabandt, 2015 Jan 6)
|
|||||||
Patch for building a 32bit Vim with 64bit MingW compiler.
|
Patch for building a 32bit Vim with 64bit MingW compiler.
|
||||||
(Michael Soyka, 2014 Oct 15)
|
(Michael Soyka, 2014 Oct 15)
|
||||||
|
|
||||||
Delete old code in os_msdos.c, mch_FullName().
|
|
||||||
|
|
||||||
Patch: On MS-Windows shellescape() may have to triple double quotes.
|
Patch: On MS-Windows shellescape() may have to triple double quotes.
|
||||||
(Ingo Karkat, 2015 Jan 16)
|
(Ingo Karkat, 2015 Jan 16)
|
||||||
|
|
||||||
|
16
runtime/ftplugin/cmake.vim
Normal file
16
runtime/ftplugin/cmake.vim
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
" Vim filetype plugin
|
||||||
|
" Language: CMake
|
||||||
|
" Maintainer: Keith Smiley <keithbsmiley@gmail.com>
|
||||||
|
" Last Change: 2017 Dec 24
|
||||||
|
|
||||||
|
" Only do this when not done yet for this buffer
|
||||||
|
if exists("b:did_ftplugin")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Don't load another plugin for this buffer
|
||||||
|
let b:did_ftplugin = 1
|
||||||
|
|
||||||
|
let b:undo_ftplugin = "setl commentstring<"
|
||||||
|
|
||||||
|
setlocal commentstring=#\ %s
|
@ -2,7 +2,7 @@
|
|||||||
" Language: MIX (Donald Knuth's assembly language used in TAOCP)
|
" Language: MIX (Donald Knuth's assembly language used in TAOCP)
|
||||||
" Maintainer: Wu Yongwei <wuyongwei@gmail.com>
|
" Maintainer: Wu Yongwei <wuyongwei@gmail.com>
|
||||||
" Filenames: *.mixal *.mix
|
" Filenames: *.mixal *.mix
|
||||||
" Last Change: 2013 Nov 13
|
" Last Change: 2017-11-26 15:21:36 +0800
|
||||||
|
|
||||||
" Quit when a syntax file was already loaded
|
" Quit when a syntax file was already loaded
|
||||||
if exists("b:current_syntax")
|
if exists("b:current_syntax")
|
||||||
@ -16,7 +16,7 @@ syn case ignore
|
|||||||
|
|
||||||
" Special processing of ALF directive: implementations vary whether quotation
|
" Special processing of ALF directive: implementations vary whether quotation
|
||||||
" marks are needed
|
" marks are needed
|
||||||
syn match mixAlfParam #\s\{1,2\}"\?[^"]\{,5\}"\?# contains=mixAlfDirective,mixString nextgroup=mixEndComment contained
|
syn match mixAlfParam #\s\{1,2\}"\?[^"]\{,5\}"\?# contains=mixString nextgroup=mixEndComment contained
|
||||||
|
|
||||||
" Region for parameters
|
" Region for parameters
|
||||||
syn match mixParam #[-+*/:=0-9a-z,()"]\+# contains=mixIdentifier,mixSpecial,mixNumber,mixString,mixLabel nextgroup=mixEndComment contained
|
syn match mixParam #[-+*/:=0-9a-z,()"]\+# contains=mixIdentifier,mixSpecial,mixNumber,mixString,mixLabel nextgroup=mixEndComment contained
|
||||||
@ -46,6 +46,7 @@ syn keyword mixDirective ALF nextgroup=mixAlfParam contained
|
|||||||
" Opcodes
|
" Opcodes
|
||||||
syn keyword mixOpcode NOP HLT NUM CHAR FLOT FIX nextgroup=mixEndComment contained
|
syn keyword mixOpcode NOP HLT NUM CHAR FLOT FIX nextgroup=mixEndComment contained
|
||||||
syn keyword mixOpcode FADD FSUB FMUL FDIV FCMP MOVE ADD SUB MUL DIV IOC IN OUT JRED JBUS JMP JSJ JOV JNOV JL JE JG JLE JNE JGE SLA SRA SLAX SRAX SLC SRC nextgroup=mixParam contained skipwhite
|
syn keyword mixOpcode FADD FSUB FMUL FDIV FCMP MOVE ADD SUB MUL DIV IOC IN OUT JRED JBUS JMP JSJ JOV JNOV JL JE JG JLE JNE JGE SLA SRA SLAX SRAX SLC SRC nextgroup=mixParam contained skipwhite
|
||||||
|
syn keyword mixOpcode SLB SRB JAE JAO JXE JXO nextgroup=mixParam contained skipwhite
|
||||||
|
|
||||||
syn match mixOpcode "LD[AX1-6]N\?\>" nextgroup=mixParam contained skipwhite
|
syn match mixOpcode "LD[AX1-6]N\?\>" nextgroup=mixParam contained skipwhite
|
||||||
syn match mixOpcode "ST[AX1-6JZ]\>" nextgroup=mixParam contained skipwhite
|
syn match mixOpcode "ST[AX1-6JZ]\>" nextgroup=mixParam contained skipwhite
|
||||||
@ -58,7 +59,7 @@ syn match mixOpcode "J[AX1-6]N\?[NZP]\>" nextgroup=mixParam contained skipwhite
|
|||||||
" Switch back to being case sensitive
|
" Switch back to being case sensitive
|
||||||
syn case match
|
syn case match
|
||||||
|
|
||||||
" Registers (only to used in comments now)
|
" Registers (only to be used in comments now)
|
||||||
syn keyword mixRegister rA rX rI1 rI2 rI3 rI4 rI5 rI6 rJ contained
|
syn keyword mixRegister rA rX rI1 rI2 rI3 rI4 rI5 rI6 rJ contained
|
||||||
|
|
||||||
" The default highlighting
|
" The default highlighting
|
||||||
|
Loading…
x
Reference in New Issue
Block a user