diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-07-15 13:53:23 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-07-15 13:53:23 +0200 |
commit | 74675a666b51edd61e0210132658d81a86c5102c (patch) | |
tree | 1f5b27f2c85a23a6cf75e05b142c2fa7c901d4f9 /runtime | |
parent | 85dad2c815aaef69aa948fb17874b3825dd72def (diff) |
Updated runtime files and translations.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/autocmd.txt | 5 | ||||
-rw-r--r-- | runtime/doc/channel.txt | 2 | ||||
-rw-r--r-- | runtime/doc/cmdline.txt | 5 | ||||
-rw-r--r-- | runtime/doc/editing.txt | 10 | ||||
-rw-r--r-- | runtime/doc/eval.txt | 25 | ||||
-rw-r--r-- | runtime/doc/gui_x11.txt | 124 | ||||
-rw-r--r-- | runtime/doc/if_cscop.txt | 9 | ||||
-rw-r--r-- | runtime/doc/index.txt | 3 | ||||
-rw-r--r-- | runtime/doc/options.txt | 43 | ||||
-rw-r--r-- | runtime/doc/quickref.txt | 5 | ||||
-rw-r--r-- | runtime/doc/syntax.txt | 7 | ||||
-rw-r--r-- | runtime/doc/tags | 16 | ||||
-rw-r--r-- | runtime/doc/terminal.txt | 12 | ||||
-rw-r--r-- | runtime/doc/todo.txt | 188 | ||||
-rw-r--r-- | runtime/doc/version8.txt | 4 | ||||
-rw-r--r-- | runtime/filetype.vim | 11 | ||||
-rw-r--r-- | runtime/optwin.vim | 10 | ||||
-rw-r--r-- | runtime/syntax/murphi.vim | 127 | ||||
-rw-r--r-- | runtime/syntax/php.vim | 553 | ||||
-rw-r--r-- | runtime/syntax/sisu.vim | 4 | ||||
-rw-r--r-- | runtime/tutor/tutor.fr.utf-8 | 4 | ||||
-rw-r--r-- | runtime/tutor/tutor.pt | 2 | ||||
-rw-r--r-- | runtime/tutor/tutor.pt.utf-8 | 2 |
23 files changed, 769 insertions, 402 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index b2d1c24fe9..b4b064c262 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -1,4 +1,4 @@ -*autocmd.txt* For Vim version 8.0. Last change: 2017 Apr 07 +*autocmd.txt* For Vim version 8.0. Last change: 2017 Jul 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -651,7 +651,8 @@ FileType When the 'filetype' option has been set. The pattern is matched against the filetype. <afile> can be used for the name of the file where this option was set, and <amatch> for - the new value of 'filetype'. + the new value of 'filetype'. Navigating to + another window or buffer is not allowed. See |filetypes|. *FileWriteCmd* FileWriteCmd Before writing to a file, when not writing the diff --git a/runtime/doc/channel.txt b/runtime/doc/channel.txt index 39cd912ad5..5bcf950406 100644 --- a/runtime/doc/channel.txt +++ b/runtime/doc/channel.txt @@ -518,7 +518,7 @@ By default this reads the whole buffer. This can be changed with the "in_top" and "in_bot" options. A special mode is when "in_top" is set to zero and "in_bot" is not set: Every -time a line is added to the buffer, the last-but-one line will be send to the +time a line is added to the buffer, the last-but-one line will be sent to the job stdin. This allows for editing the last line and sending it when pressing Enter. *channel-close-in* diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt index aab2a3e32e..cd38e90e98 100644 --- a/runtime/doc/cmdline.txt +++ b/runtime/doc/cmdline.txt @@ -1,4 +1,4 @@ -*cmdline.txt* For Vim version 8.0. Last change: 2016 Sep 27 +*cmdline.txt* For Vim version 8.0. Last change: 2017 Jul 11 VIM REFERENCE MANUAL by Bram Moolenaar @@ -455,6 +455,9 @@ matches exactly one character. The 'wildignorecase' option can be set to ignore case in filenames. +The 'wildmenu' option can be set to show the matches just above the command +line. + If you like tcsh's autolist completion, you can use this mapping: :cnoremap X <C-L><C-D> (Where X is the command key to use, <C-L> is CTRL-L and <C-D> is CTRL-D) diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt index 25cbe9cbfa..ecb9b87c2f 100644 --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1,4 +1,4 @@ -*editing.txt* For Vim version 8.0. Last change: 2017 Apr 10 +*editing.txt* For Vim version 8.0. Last change: 2017 Jun 20 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1328,9 +1328,11 @@ present in 'cpoptions' and "!" is not used in the command. :chd[ir][!] [path] Same as |:cd|. *:lc* *:lcd* -:lc[d][!] {path} Like |:cd|, but only set the current directory for the - current window. The current directory for other - windows is not changed. {not in Vi} +:lc[d][!] {path} Like |:cd|, but only set the current directory when + the cursor is in the current window. The current + directory for other windows is not changed, switching + to another window will stop using {path}. + {not in Vi} *:lch* *:lchdir* :lch[dir][!] Same as |:lcd|. {not in Vi} diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 781c79af01..add95bc3b7 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 8.0. Last change: 2017 Jul 08 +*eval.txt* For Vim version 8.0. Last change: 2017 Jul 15 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2369,6 +2369,12 @@ tagfiles() List tags files used tan({expr}) Float tangent of {expr} tanh({expr}) Float hyperbolic tangent of {expr} tempname() String name for a temporary file +term_getsize() Dict get the size of a terminal +term_open() Job open a terminal window and run a job +term_scrape() List inspect terminal screen +term_sendkeys() Number send keystrokes to a terminal +term_setsize() Number set the size of a terminal +term_wait() Number wait for screen to be updated test_alloc_fail({id}, {countdown}, {repeat}) none make memory allocation fail test_autochdir() none enable 'autochdir' during startup @@ -7887,6 +7893,23 @@ tempname() *tempname()* *temp-file-name* For MS-Windows forward slashes are used when the 'shellslash' option is set or when 'shellcmdflag' starts with '-'. +term_getsize() *term_getsize()* + Get the size of a terminal. NOT IMPLEMENTED YET + +term_open() *term_open()* + Open a terminal window and run a job. NOT IMPLEMENTED YET + +term_scrape() *term_scrape()* + Inspect terminal screen. NOT IMPLEMENTED YET + +term_sendkeys() *term_sendkeys()* + Send keystrokes to a terminal. NOT IMPLEMENTED YET + +term_setsize() *term_setsize()* + Set the size of a terminal. NOT IMPLEMENTED YET + +term_wait() *term_wait()* + Wait for screen to be updated. NOT IMPLEMENTED YET test_alloc_fail({id}, {countdown}, {repeat}) *test_alloc_fail()* This is for testing: If the memory allocation with {id} is diff --git a/runtime/doc/gui_x11.txt b/runtime/doc/gui_x11.txt index 778c8873d7..fd2ef56824 100644 --- a/runtime/doc/gui_x11.txt +++ b/runtime/doc/gui_x11.txt @@ -1,4 +1,4 @@ -*gui_x11.txt* For Vim version 8.0. Last change: 2016 Sep 12 +*gui_x11.txt* For Vim version 8.0. Last change: 2017 Jun 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -279,8 +279,9 @@ For CDE "dtwm" (a derivative of Motif) add this line in the .Xdefaults: > For "mwm" (Motif window manager) the line would be: > Mwm*Vim*iconImage: /usr/local/share/vim/vim32x32.xpm -Mouse Pointers Available in X11 *X11_mouse_shapes* +Mouse Pointers Available in X11 ~ + *X11_mouse_shapes* By using the |'mouseshape'| option, the mouse pointer can be automatically changed whenever Vim enters one of its various modes (e.g., Insert or Command). Currently, the available pointers are: @@ -354,7 +355,9 @@ to the GTK documentation, however little there is, on how to do this. See http://developer.gnome.org/doc/API/2.0/gtk/gtk-Resource-Files.html for more information. - *gtk-tooltip-colors* + +Tooltip Colors ~ + *gtk-tooltip-colors* Example, which sets the tooltip colors to black on light-yellow: > style "tooltips" @@ -372,15 +375,122 @@ distribution. For GTK+ 3, an effect similar to the above can be obtained by adding the following snippet of CSS code to $XDG_HOME_DIR/gtk-3.0/gtk.css (usually, $HOME/.config/gtk-3.0/gtk.css): - > + +For GTK+ 3 < 3.20: > + .tooltip { background-color: #ffffcc; color: #000000; } < +For GTK+ 3 >= 3.20: > + + tooltip { + background-color: #ffffcc; + text-shadow: none; + } + + tooltip label { + color: #2e3436; + } +< + +A Quick Look at GTK+ CSS ~ + *gtk-css* +The contents of this subsection apply to GTK+ 3.20 or later which provides +stable support for GTK+ CSS: + + https://developer.gnome.org/gtk3/stable/theming.html -Using Vim as a GTK+ plugin *gui-gtk-socketid* +GTK+ uses CSS for styling and layout of widgets. In this subsection, we'll +have a quick look at GTK+ CSS through simple, illustrative examples. +Example 1. Empty Space Adjustment ~ + +By default, the toolbar and the tabline of the GTK+ 3 GUI are somewhat larger +than those of the GTK+ 2 GUI. Some people may want to make them look similar +to the GTK+ 2 GUI in size. + +To do that, we'll try reducing empty space around icons and labels that looks +apparently superfluous. + +Add the following lines to $XDG_HOME_DIR/gtk-3.0/gtk.css (usually, +$HOME/.config/gtk-3.0/gtk.css): > + + toolbar button { + margin-top: -2px; + margin-right: 0px; + margin-bottom: -2px; + margin-left: 0px; + + padding-top: 0px; + padding-right: 0px; + padding-bottom: 0px; + padding-left: 0px + } + + notebook tab { + margin-top: -1px; + margin-right: 3px; + margin-bottom: -1px; + margin-left: 3px; + + padding-top: 0px; + padding-right: 0px; + padding-bottom: 0px; + padding-left: 0px + } +< +Since it's a CSS, they can be rewritten using shorthand: > + + toolbar button { + margin: -2px 0px; + padding: 0px; + } + + notebook tab { + margin: -1px 3px; + padding: 0px + } +< +Note: You might want to use 'toolbariconsize' to adjust the icon size, too. + +Note: Depending on the icon theme and/or the font in use, some extra tweaks +may be needed for a satisfactory result. + +Note: In addition to margin and padding, you can use border. For details, +refer to the box model of CSS, e.g., + + https://www.w3schools.com/css/css_boxmodel.asp + +Example 2. More Than Just Colors ~ + +GTK+ CSS supports gradients as well: > + + tooltip { + background-image: -gtk-gradient(linear, + 0 0, 0 1, + color-stop(0, #344752), + color-stop(0.5, #546772), + color-stop(1, #243742)); + } + + tooltip label { + color: #f3f3f3; + } +< +Gradients can be used to make a GUI element visually distinguishable from +others without relying on high contrast. Accordingly, effective use of them is +a useful technique to give a theme a sense of unity in color and luminance. + +Note: Theming can be difficult since it must make every application look +equally good; making a single application more charming often gets others +unexpectedly less attractive or even deteriorates their usability. Keep this +in mind always when you try improving a theme. + + +Using Vim as a GTK+ plugin ~ + *gui-gtk-socketid* When the GTK+ version of Vim starts up normally, it creates its own top level window (technically, a 'GtkWindow'). GTK+ provides an embedding facility with its GtkSocket and GtkPlug widgets. If one GTK+ application creates a @@ -425,8 +535,8 @@ Note: Avoid use of --enable-gnome-check with GTK+ 3 GUI build. The functionality mentioned above is consolidated in GTK+ 3. -GNOME session support *gui-gnome-session* *gnome-session* - +GNOME session support ~ + *gui-gnome-session* *gnome-session* On logout, Vim shows the well-known exit confirmation dialog if any buffers are modified. Clicking [Cancel] will stop the logout process. Otherwise the current session is stored to disk by using the |:mksession| command, and diff --git a/runtime/doc/if_cscop.txt b/runtime/doc/if_cscop.txt index dbbe2bdfdc..62639feda6 100644 --- a/runtime/doc/if_cscop.txt +++ b/runtime/doc/if_cscop.txt @@ -1,4 +1,4 @@ -*if_cscop.txt* For Vim version 8.0. Last change: 2011 Jun 12 +*if_cscop.txt* For Vim version 8.0. Last change: 2017 Jun 14 VIM REFERENCE MANUAL by Andy Kahn @@ -91,9 +91,10 @@ suggested use.) 2. Cscope related commands *cscope-commands* *:cscope* *:cs* *:scs* *:scscope* *E259* *E262* *E561* *E560* -All cscope commands are accessed through suboptions to the main cscope -command ":cscope". The shortest abbreviation is ":cs". The ":scscope" -command does the same and also splits the window (short: "scs"). +All cscope commands are accessed through suboptions to the cscope commands. + `:cscope` or `:cs` is the main command + `:scscope` or `:scs` does the same and splits the window + `:lcscope` or `:lcs` uses the location list, see |:lcscope| The available subcommands are: diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt index ed10b46d5a..2cc17a1116 100644 --- a/runtime/doc/index.txt +++ b/runtime/doc/index.txt @@ -1,4 +1,4 @@ -*index.txt* For Vim version 8.0. Last change: 2017 Apr 22 +*index.txt* For Vim version 8.0. Last change: 2017 Jul 15 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1573,6 +1573,7 @@ tag command action ~ |:tcldo| :tcld[o] execute Tcl command for each line |:tclfile| :tclf[ile] execute Tcl script file |:tearoff| :te[aroff] tear-off a menu +|:terminal| :ter[minal] open a terminal window |:tfirst| :tf[irst] jump to first matching tag |:throw| :th[row] throw an exception |:tjump| :tj[ump] like ":tselect", but jump directly when there diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 4a775fc7c4..b083efc535 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 8.0. Last change: 2017 Jun 18 +*options.txt* For Vim version 8.0. Last change: 2017 Jul 15 VIM REFERENCE MANUAL by Bram Moolenaar @@ -7754,6 +7754,26 @@ A jump table for the options with a short description can be found at |Q_op|. Note that the "cterm" attributes are still used, not the "gui" ones. NOTE: This option is reset when 'compatible' is set. + *'termkey'* *'tk'* +'termkey' 'tk' string (default "CTRL-W") + local to window + {not in Vi} + The key that precedes a Vim command in a terminal window. Other keys + are sent to the job running in the window. + The string must be one key stroke. + NOT IMPLEMENTED YET + + + *'thesaurus'* *'tsr'* +'termsize' 'tms' string (default "") + local to window + {not in Vi} + Size of the |terminal| window. Format: {rows}x{columns}. + - When empty the terminal gets the size from the window. + - When set (e.g., "24x80") the terminal size is fixed. If the window + is smaller only the top-left part is displayed. + NOT IMPLEMENTED YET + *'terse'* *'noterse'* 'terse' boolean (default off) global @@ -8455,14 +8475,27 @@ A jump table for the options with a short description can be found at |Q_op|. 'visualbell' 'vb' boolean (default off) global {not in Vi} - Use visual bell instead of beeping. The terminal code to display the + Use a visual bell instead of beeping. The terminal code to display the visual bell is given with 't_vb'. When no beep or flash is wanted, - use ":set vb t_vb=". - Note: When the GUI starts, 't_vb' is reset to its default value. You - might want to set it again in your |gvimrc|. + use: > + :set vb t_vb= +< If you want a short flash, you can use this on many terminals: > + :set vb t_vb=[?5h$<100>[?5l +< Here $<100> specifies the time, you can use a smaller or bigger value + to get a shorter or longer flash. + + Note: Vim will limit the bell to once per half a second. This avoids + having to wait for the flashing to finish when there are lots of + bells, e.g. on key repeat. This also happens without 'visualbell' + set. + In the GUI, 't_vb' defaults to "<Esc>|f", which inverts the display for 20 msec. If you want to use a different time, use "<Esc>|40f", where 40 is the time in msec. + + Note: When the GUI starts, 't_vb' is reset to its default value. You + might want to set it again in your |gvimrc|. + Does not work on the Amiga, you always get a screen flash. Also see 'errorbells'. diff --git a/runtime/doc/quickref.txt b/runtime/doc/quickref.txt index e64a5f646c..bf427a13bb 100644 --- a/runtime/doc/quickref.txt +++ b/runtime/doc/quickref.txt @@ -1,4 +1,4 @@ -*quickref.txt* For Vim version 8.0. Last change: 2016 Dec 16 +*quickref.txt* For Vim version 8.0. Last change: 2017 Jul 15 VIM REFERENCE MANUAL by Bram Moolenaar @@ -920,6 +920,8 @@ Short explanation of each option: *option-list* 'termbidi' 'tbidi' terminal takes care of bi-directionality 'termencoding' 'tenc' character encoding used by the terminal 'termguicolors' 'tgc' use GUI colors for the terminal +'termkey' 'tk' key that precedes a Vim command in a terminal +'termsize' 'tms' size of a terminal window 'terse' shorten some messages 'textauto' 'ta' obsolete, use 'fileformats' 'textmode' 'tx' obsolete, use 'fileformat' @@ -1309,6 +1311,7 @@ Context-sensitive completion on the command-line: |:sfind| :sf[ind] {file} split window, find {file} in 'path' and edit it +|:terminal| :terminal {cmd} open a terminal window |CTRL-W_]| CTRL-W ] split window and jump to tag under cursor |CTRL-W_f| CTRL-W f split window and edit file name under diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 6606524abc..9bf38882a3 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 8.0. Last change: 2017 Jun 04 +*syntax.txt* For Vim version 8.0. Last change: 2017 Jul 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -4982,10 +4982,11 @@ PmenuSbar Popup menu: scrollbar. PmenuThumb Popup menu: Thumb of the scrollbar. *hl-Question* Question |hit-enter| prompt and yes/no questions + *hl-QuickFixLine* +QuickFixLine Current |quickfix| item in the quickfix window. *hl-Search* Search Last search pattern highlighting (see 'hlsearch'). - Also used for highlighting the current line in the quickfix - window and similar items that need to stand out. + Also used for similar items that need to stand out. *hl-SpecialKey* SpecialKey Meta and special keys listed with ":map", also for text used to show unprintable characters in the text, 'listchars'. diff --git a/runtime/doc/tags b/runtime/doc/tags index 224007c7ca..0f60177abc 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -3098,6 +3098,8 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX* :tclfile if_tcl.txt /*:tclfile* :te gui_w32.txt /*:te* :tearoff gui_w32.txt /*:tearoff* +:ter terminal.txt /*:ter* +:terminal terminal.txt /*:terminal* :tf tagsrch.txt /*:tf* :tfirst tagsrch.txt /*:tfirst* :th eval.txt /*:th* @@ -4802,6 +4804,7 @@ W18 syntax.txt /*W18* W19 autocmd.txt /*W19* W20 if_pyth.txt /*W20* W21 if_pyth.txt /*W21* +W22 eval.txt /*W22* WORD motion.txt /*WORD* WWW intro.txt /*WWW* Win32 os_win32.txt /*Win32* @@ -6571,6 +6574,7 @@ gs various.txt /*gs* gsp.vim syntax.txt /*gsp.vim* gstar pattern.txt /*gstar* gt tabpage.txt /*gt* +gtk-css gui_x11.txt /*gtk-css* gtk-tooltip-colors gui_x11.txt /*gtk-tooltip-colors* gu change.txt /*gu* gugu change.txt /*gugu* @@ -6740,6 +6744,7 @@ hl-PmenuSbar syntax.txt /*hl-PmenuSbar* hl-PmenuSel syntax.txt /*hl-PmenuSel* hl-PmenuThumb syntax.txt /*hl-PmenuThumb* hl-Question syntax.txt /*hl-Question* +hl-QuickFixLine syntax.txt /*hl-QuickFixLine* hl-Scrollbar syntax.txt /*hl-Scrollbar* hl-Search syntax.txt /*hl-Search* hl-SignColumn syntax.txt /*hl-SignColumn* @@ -8778,6 +8783,12 @@ tempname() eval.txt /*tempname()* term-dependent-settings term.txt /*term-dependent-settings* term-list syntax.txt /*term-list* term.txt term.txt /*term.txt* +term_getsize() eval.txt /*term_getsize()* +term_open() eval.txt /*term_open()* +term_scrape() eval.txt /*term_scrape()* +term_sendkeys() eval.txt /*term_sendkeys()* +term_setsize() eval.txt /*term_setsize()* +term_wait() eval.txt /*term_wait()* termcap term.txt /*termcap* termcap-changed version4.txt /*termcap-changed* termcap-colors term.txt /*termcap-colors* @@ -8785,11 +8796,16 @@ termcap-cursor-color term.txt /*termcap-cursor-color* termcap-cursor-shape term.txt /*termcap-cursor-shape* termcap-options term.txt /*termcap-options* termcap-title term.txt /*termcap-title* +terminal terminal.txt /*terminal* terminal-colors os_unix.txt /*terminal-colors* +terminal-debug terminal.txt /*terminal-debug* terminal-info term.txt /*terminal-info* terminal-key-codes term.txt /*terminal-key-codes* terminal-options term.txt /*terminal-options* terminal-output-codes term.txt /*terminal-output-codes* +terminal-testing terminal.txt /*terminal-testing* +terminal-use terminal.txt /*terminal-use* +terminal.txt terminal.txt /*terminal.txt* terminfo term.txt /*terminfo* termresponse-variable eval.txt /*termresponse-variable* test-functions usr_41.txt /*test-functions* diff --git a/runtime/doc/terminal.txt b/runtime/doc/terminal.txt index c16a793193..461e9059fe 100644 --- a/runtime/doc/terminal.txt +++ b/runtime/doc/terminal.txt @@ -1,4 +1,4 @@ -*terminal.txt* For Vim version 8.0. Last change: 2017 Jul 04 +*terminal.txt* For Vim version 8.0. Last change: 2017 Jul 15 VIM REFERENCE MANUAL by Bram Moolenaar @@ -35,15 +35,11 @@ the job. This uses a pty when possible. Navigate between windows with CTRL-W commands (and mouse). E.g. CTRL-W CTRL-W moves focus to the next window. -Option 'termkey' -Specify key for Vim command in terminal window. local to window. +See option 'termkey' for specifying the key that precedes a Vim command. Default is CTRL-W. -Option 'termsize' -Specify terminal size. Local to window. -When empty the terminal gets the size from the window. -When set (e.g., "24x80") the terminal size is fixed. If the window is smaller -only the top-left part is displayed. (TODO: scrolling?) +See option 'termsize' for controlling the size of the terminal window. +(TODO: scrolling when the terminal is larger than the window) Syntax ~ *:ter* *:terminal* diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index c833312201..7e59d0b50b 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 8.0. Last change: 2017 Jun 13 +*todo.txt* For Vim version 8.0. Last change: 2017 Jul 15 VIM REFERENCE MANUAL by Bram Moolenaar @@ -35,9 +35,39 @@ entered there will not be repeated below, unless there is extra information. *known-bugs* -------------------- Known bugs and current work ----------------------- -+channel: -- When redrawing for the channel buffer, command line completion is cleared. +When redrawing for the channel buffer, command line completion is cleared. (Ramel Eshed, 2017 May 4) +When a timer triggers the command completion disappears. (Dominique Pelle, +2017 Jun 13, #1768) +Caused by 8.0.0592. +Check if anything was output? Don't redraw when scrolled. (#1820) +When redrawing the command line a pending CTRL-R shows ", which is removed. + +No maintainer for German translations. +No maintainer for Vietnamese translations. +No maintainer for Simplified Chinese translations. + + +Terminal emulator window: +- Lots of stuff to implement, see src/terminal.c +- Windows implementation (WiP): https://github.com/mattn/vim/tree/terminal + Using winpty ? +- Running a shell command from the GUI still has limitations. Look into how + the terminal emulator of the Vim shell project can help: + http://vimshell.wana.at +- Add debugger interface. Implementation for gdb by Xavier de Gaye. + Should work like an IDE. Try to keep it generic. Now found here: + http://clewn.sf.net. +- Look into the idevim plugin/script. +- Related wishes for NetBeans commands: + - make it possible to have 'defineAnnoType' also handle terminal colors. + - send 'balloonText' events for the cursor position (using CursorHold ?) + in terminal mode. +- Feature: switch between "running job" and a normal buffer (possibly + read-only) to allow for searching, copy/paste, etc. (Domnique). Having a + (large) scrollback would be useful. + ++channel: - Try out background make plugin: https://github.com/AndrewVos/vim-make-background - Problem with stderr on Windows? (Vincent Rischmann, 2016 Aug 31, #1026) @@ -101,14 +131,14 @@ Regexp problems: col and vcol when moving to another line. - this doesn't work: "syntax match ErrorMsg /.\%9l\%>20c\&\%<28c/". Leaving out the \& works. Seems any column check after \& fails. -- The pattern "\1" with the old engine gives E65, with the new engine it - matches the empty string. (Dominique Pelle, 2015 Oct 2, Nov 24) - had_endbrace[] is set but not initialized or used. - Difference between two engines: ".*\zs\/\@>\/" on text "///" (Chris Paul, 2016 Nov 13) New engine not greedy enough? Another one: echom matchstr(" sdfsfsf\n sfdsdfsdf",'[^\n]*') (2017 May 15, #1252) +Patch to update b:changedtick in the quickfix window. (Yegappan Lakshmanan, +2017 Jul 13) + With foldmethod=syntax and nofoldenable comment highlighting isn't removed. (Marcin Szewczyk, 2017 Apr 26) @@ -119,13 +149,38 @@ ml_get errors with buggy script. (Dominique, 2017 Apr 30) Error in emsg with buggy script. (Dominique, 2017 Apr 30) +Better detection of strace file. (Steven Fernandez, 2017 Jul 12, #1837) + +To reproduce problems "vim -u NONE -N" is often used, but this still uses +'viminfo'. Add "-I" to not use 'viminfo'? +Or use "vim -B" for "bug reproduction"? + +Bug with conceal mode: 3rd element returned by synconcealed() differs for +every call. (Dominique Pelle, 2017 Jun 18) + Add options_default() / options_restore() to set several options to Vim defaults for a plugin. Comments from Zyx, 2017 May 10. Perhaps use a vimcontext / endvimcontext command block. -Using freed memory with "qf" FileType autocommand that does :cclose. -(Lemonboy, 2017 May 28, #1730, fix in 1734, with test that doesn't fail, but -it fails when run manually) Add "starting" to test_override()? +Patch to trigger OptionSet when entering diff mode. (Christian Brabandt, 2017 +Jul 7) + +Illegal memory access, requires ASAN to see. (Dominique Pelle, 2015 Jul 28) +Still happens (2017 Jul 9) + +Memory leak in test_arabic. + +Refactored HTML indent file. (Michael Lee, #1821) + +Using uninitialzed value in test_crypt. + +X11: Putting more than about 262040 characters of text on the clipboard and +pasting it in another Vim doesn't work. (Dominique Pelle, 2008 Aug 21-23) +clip_x11_request_selection_cb() is called with zero value and length. +Also: Get an error message from free() in the process that owns the selection. +Seems to happen when the selection is requested the second time, but before +clip_x11_convert_selection_cb() is invoked, thus in X library code. +Patch to fix this by Kiichi, 2017 Jul 11, #1822) Problem with three-piece comment. (Michael Lee, 2017 May 11, #1696) @@ -134,15 +189,24 @@ case of :bwipe followed by :new. Files for Latvian language. (Vitolins, 2017 May 3, #1675) +MS-Windows: Opening same file in a second gvim hangs. (Sven Bruggemann, 2017 +Jul 4) + Setting 'clipboard' to "unnamed" makes a global command very slow (Daniel Drucker, 2017 May 8). This was supposed to be fixed, did it break again somehow? Christian cannot reproduce it. +Using composing char in mapping does not work properly. maparg() shows the +wrong thing. (Nikolai Pavlov, 2017 Jul 8, #1827) +Or is this not an actual problem? + Better TeX indent file. (Christian Brabandt, 2017 May 3) Openhab syntax file (mueller, #1678) +Patch to use a separate code for BS on Windows. (Linwei, #1823) + Use gvimext.dll from the nightly build? (Issue #249) 'synmaxcol' works with bytes instead of screen cells. (Llandon, 2017 May 31, @@ -151,18 +215,17 @@ Use gvimext.dll from the nightly build? (Issue #249) Problem with using :cd when remotely editing a file. (Gerd Wachsmuth, 2017 May 8, #1690) -'equalalways' only works for one column. (Glacambre, 2017 May 15, #1707) - Include solarized color scheme? -Updates to GTK help. (Kazunobu Kuriyama, 2017 May 4) - Running test_gui and test_gui_init with Motif sometimes kills the window manager. Problem with Motif? Bogus characters inserted when triggering indent while changing text. (Vitor Antunes, 2016 Nov 22, #1269) +Using "wviminfo /tmp/viminfo" does not store file marks that Vim knows about, +it only works when merging with an existing file. (Shougo, 2017 Jun 19, #1781) + Segmentation fault with complete(). (Lifepillar, 2017 Apr 29, #1668) Check for "pat" to be NULL in search_for_exact_line()? How did it get NULL? Comment by Christian, Apr 30. @@ -172,6 +235,9 @@ Is it possible to keep the complete menu open when calling complete()? Memory leak in test97? The string is actually freed. Weird. +assert_fails() can only check for the first error. Make it possible to have +it catch multiple errors and check all of them. + New value "uselast" for 'switchbuf'. (Lemonboy, 2017 Apr 23, #1652) Add a toolbar in the terminal. Can be global, above all windows, or specific @@ -187,6 +253,11 @@ Perhaps simpler: actually delete the mappings. Use maplist() to list matching mappings (with a lhs prefix, like maparg()), mapdelete() to delete, maprestore() to restore (using the output of maplist(). +Patch to add setbufline(). (email from Yasuhiro Matsumoto, patch by Ozaki +Kiichi, 2016 Feb 28) +Update Mar 8: https://gist.github.com/mattn/23c1f50999084992ca98 +Update Mar 13: https://gist.github.com/mattn/23c1f50999084992ca98 + Add an argument to :mkvimrc (or add aother command) to skip mappings from plugins (source is a Vim script). No need to put these in a .vimrc, they will be defined when the plugin is loaded. @@ -200,6 +271,9 @@ What if there is an invalid character? Json string with trailing \u should be an error. (Lcd) +import can't be used in define option when include matches too. +(Romain Lafourcade, 2017 Jun 18, #1519) + When session file has name in argument list but the buffer was deleted, the buffer is not deleted when using the session file. (#1393) Should add the buffer in hidden state. @@ -211,10 +285,6 @@ Wrong diff highlighting with three files. (2016 Oct 20, #1186) Also get E749 on exit. Another example in #1309 -Patch to change all use of &sw to shiftwidth(). (Tyru, 2017 Feb 19) -Takuya Fujiwara -Wait until maintainers integrate it. - When deleting a mark or register, leave a tombstone, so that it's also deleted when writing viminfo (and the delete was the most recent action). #1339 @@ -244,6 +314,12 @@ highlighting for both stl and stlnc. Patch by Ken Hamada (itchyny, 2016 Dec 11) Using CTRL-G_U in InsertCharPre causes trouble for redo. (Israel Chauca Fuentes, 2017 Feb 12, #1470) +Add a "keytrans()" function, which turns the internal byte representation of a +key into a form that can be used for :map. E.g. + let xx = "\<C-Home>" + echo keytrans(xx) + <C-Home> + Check for errors E704 and E705 only does VAR_FUNC, should also do VAR_PARTIAL. (Nikolai Pavlov, 2017 Mar 13, #1557) Make a function to check for function-like type? @@ -257,9 +333,6 @@ Implement optional arguments for functions. call Foo(12, all = 0) call Foo(12, 15, 0) -writefile() does not abort as soon as an error is found. (Nikolai Pavlov, -2017 Feb 14, #1476) - Patch to support on-the-spot and over-the-spot input method. (Ken Takata, 2017 Feb 14). @@ -273,6 +346,10 @@ somewhere else. :{range}copy {dest} !cmd Patch to fix that empty first tab is not in session. (Hirohito Higashi, 2016 Nov 25, #1282) +Patch to add random number generator. (Hong Xu, 2010 Nov 8, update Nov 10) +Alternative from Christian Brabandt. (2010 Sep 19) |