]> granicus.if.org Git - vim/commitdiff
update a few runtime files
authorBram Moolenaar <Bram@vim.org>
Sun, 24 Dec 2017 12:22:00 +0000 (13:22 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 24 Dec 2017 12:22:00 +0000 (13:22 +0100)
runtime/doc/options.txt
runtime/doc/syntax.txt
runtime/doc/tags
runtime/doc/terminal.txt
runtime/doc/todo.txt
runtime/ftplugin/cmake.vim [new file with mode: 0644]
runtime/syntax/mix.vim

index 41f621b20a42a7936e902588018d38b22d1e2de6..f279de6aefc7651e672cd33e0983aee988529074 100644 (file)
@@ -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
@@ -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
        name of the original file with the string in the 'patchmode' option
        appended.  This option should start with a dot.  Use a string like
-       ".org".  'backupdir' must not be empty for this to work (Detail: The
-       backup file is renamed to the patchmode file after the new file has
-       been successfully written, that's why it must be possible to write a
-       backup file).  If there was no file to be backed up, an empty file is
-       created.
+       ".orig" or ".org".  'backupdir' must not be empty for this to work
+       (Detail: The backup file is renamed to the patchmode file after the
+       new file has been successfully written, that's why it must be possible
+       to write a backup file).  If there was no file to be backed up, an
+       empty file is created.
        When the 'backupskip' pattern matches, a patchmode file is not made.
        Using 'patchmode' for compressed files appends the extension at the
        end (e.g., "file.gz.orig"), thus the resulting name isn't always
index 248baced5ddae9cd8ac77929140e345ecc737af9..50d90008d1e39231e7a4d747309f2b491b71cdcc 100644 (file)
@@ -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
@@ -5031,6 +5031,8 @@ TabLine           tab pages line, not active tab page label
 TabLineFill    tab pages line, where there are no labels
                                                        *hl-TabLineSel*
 TabLineSel     tab pages line, active tab page label
+                                                       *hl-Terminal*
+Terminal       |terminal| window (see |terminal-size-color|)
                                                        *hl-Title*
 Title          titles for output from ":set all", ":autocmd" etc.
                                                        *hl-Visual*
index 0792751857e2d87e657a1c5a88f502e9d69d5f32..f43e5dee3cee822bdb874a4b6a3409a3c8f7ae3f 100644 (file)
@@ -6828,6 +6828,7 @@ hl-StatusLineNC   syntax.txt      /*hl-StatusLineNC*
 hl-TabLine     syntax.txt      /*hl-TabLine*
 hl-TabLineFill syntax.txt      /*hl-TabLineFill*
 hl-TabLineSel  syntax.txt      /*hl-TabLineSel*
+hl-Terminal    syntax.txt      /*hl-Terminal*
 hl-Title       syntax.txt      /*hl-Title*
 hl-Tooltip     syntax.txt      /*hl-Tooltip*
 hl-User1       syntax.txt      /*hl-User1*
@@ -8064,6 +8065,7 @@ quake.vim syntax.txt      /*quake.vim*
 quickfix       quickfix.txt    /*quickfix*
 quickfix-6     version6.txt    /*quickfix-6*
 quickfix-ID    quickfix.txt    /*quickfix-ID*
+quickfix-changedtick   quickfix.txt    /*quickfix-changedtick*
 quickfix-context       quickfix.txt    /*quickfix-context*
 quickfix-directory-stack       quickfix.txt    /*quickfix-directory-stack*
 quickfix-error-lists   quickfix.txt    /*quickfix-error-lists*
index 10d3bc5293d2f7362f982a01836fae4671d9b64a..a1576fa15bcc28bfb002854e5dab120fbd7d6817 100644 (file)
@@ -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
@@ -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
 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
 
 
index 4f0d489da08aecfd740e21d757e7dddbe33c5255..7eeb2c3b8200ca073de7c1333465add58ff7acaa 100644 (file)
@@ -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
@@ -142,11 +142,19 @@ Suggested by Hiroki Kokubun:
 Include solarized color scheme?, it does not support termguicolors.
 - Sanitized version of pablo (Lifepillar, 2017 Nov 21)
 
-heap use after free. (gy741, #2447)
-heap use after free in set_bufref (gy741, #2448)
-    reproduces with valgrind (Dominique)
-heap use after free in getout. (gy741, #2449)
-    reproduces with valgrind (Dominique)
+Reproducible:
+    invalid memory access in regexp with zero-width.
+       reproduced by Dominique, 2017 Dec 23
+    heap-use-after-free in win_equal_rec (#2467)
+        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):
 - signed integer overflow in do_sub() (#2249)
@@ -155,20 +163,13 @@ Compiler warnings (geeknik, 2017 Oct 26):
 - signed integer overflow in nfa_regatom() (#2251)
 - undefined left shift in get_string_tv() (#2250)
 
-Triggering CursorHoldI happens too often in the GUI. (#2451).
-Should move code from os_unix.c mch_inchar() up into common use, it's not
-really machine specific. Also the part of WaitForChar(), it deals with timers
-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
+balloon_show() does not work properly in the terminal. (Ben Jackson, 2017 Dec
+20, #2481)
+Also see #2352, want better control over balloon, perhaps set the position.
 
 When using :packadd files under "later" are not used, which is inconsistent
 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
     when evaluating to non-zero.  Add the "watchadd expr" command, stop when
     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.
 (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
 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
 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
 CmdlineEnter.  (xtal8, 2017 Oct 30, #2263)
 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 leak in test_arabic.
 Using uninitialized value in test_crypt.
+Memory leaks in test_escaped_glob
 
 Patch to clear background when "guibg=NONE" is used and 'termguicolors' is
 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.
 (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.
 (Ingo Karkat, 2015 Jan 16)
 
diff --git a/runtime/ftplugin/cmake.vim b/runtime/ftplugin/cmake.vim
new file mode 100644 (file)
index 0000000..e81cd40
--- /dev/null
@@ -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
index 9ab98eacf88aa03ebdd1e97d2cf9cee6adeef61a..564d344cc8490a979325f00aa53281905ea7823e 100644 (file)
@@ -2,7 +2,7 @@
 " Language:    MIX (Donald Knuth's assembly language used in TAOCP)
 " Maintainer:  Wu Yongwei <wuyongwei@gmail.com>
 " 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
 if exists("b:current_syntax")
@@ -16,7 +16,7 @@ syn case ignore
 
 " Special processing of ALF directive: implementations vary whether quotation
 " 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
 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
 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  SLB SRB JAE JAO JXE JXO 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
@@ -58,7 +59,7 @@ syn match mixOpcode   "J[AX1-6]N\?[NZP]\>" nextgroup=mixParam contained skipwhite
 " Switch back to being case sensitive
 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
 
 " The default highlighting