diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-12-18 21:41:50 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-12-18 21:41:50 +0100 |
commit | 9d87a37ee9d87f5bdbc779bc940d5f1e6f055d0a (patch) | |
tree | f569453cf21f8a14b1a90e6e4edeeb41fe624b70 /runtime | |
parent | a86187b9cd529754ad85cd621169876317eb3a69 (diff) |
Update runtime files.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/change.txt | 8 | ||||
-rw-r--r-- | runtime/doc/digraph.txt | 2 | ||||
-rw-r--r-- | runtime/doc/editing.txt | 4 | ||||
-rw-r--r-- | runtime/doc/eval.txt | 22 | ||||
-rw-r--r-- | runtime/doc/help.txt | 23 | ||||
-rw-r--r-- | runtime/doc/map.txt | 8 | ||||
-rw-r--r-- | runtime/doc/options.txt | 25 | ||||
-rw-r--r-- | runtime/doc/repeat.txt | 7 | ||||
-rw-r--r-- | runtime/doc/syntax.txt | 88 | ||||
-rw-r--r-- | runtime/doc/tags | 27 | ||||
-rw-r--r-- | runtime/doc/textprop.txt | 8 | ||||
-rw-r--r-- | runtime/doc/todo.txt | 69 | ||||
-rw-r--r-- | runtime/doc/usr_41.txt | 4 | ||||
-rw-r--r-- | runtime/doc/various.txt | 3 | ||||
-rw-r--r-- | runtime/indent/falcon.vim | 2 | ||||
-rw-r--r-- | runtime/indent/matlab.vim | 187 | ||||
-rw-r--r-- | runtime/indent/testdir/matlab.in | 63 | ||||
-rw-r--r-- | runtime/indent/testdir/matlab.ok | 63 | ||||
-rw-r--r-- | runtime/indent/testdir/runtest.vim | 1 | ||||
-rw-r--r-- | runtime/indent/testdir/tcl.in | 2 | ||||
-rw-r--r-- | runtime/indent/testdir/tcl.ok | 20 | ||||
-rw-r--r-- | runtime/indent/testdir/xml.in | 2 | ||||
-rw-r--r-- | runtime/indent/testdir/xml.ok | 40 | ||||
-rw-r--r-- | runtime/indent/xml.vim | 116 | ||||
-rw-r--r-- | runtime/syntax/abap.vim | 13 |
25 files changed, 530 insertions, 277 deletions
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt index dc3a23c599..ff0c44a662 100644 --- a/runtime/doc/change.txt +++ b/runtime/doc/change.txt @@ -1,4 +1,4 @@ -*change.txt* For Vim version 8.1. Last change: 2018 May 12 +*change.txt* For Vim version 8.1. Last change: 2018 Dec 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -944,9 +944,9 @@ When the result is a |List| then the items are joined with separating line breaks. Thus each item becomes a line, except that they can contain line breaks themselves. -The whole matched text can be accessed with "submatch(0)". The text matched -with the first pair of () with "submatch(1)". Likewise for further -sub-matches in (). +The |submatch()| function can be used to obtain matched text. The whole +matched text can be accessed with "submatch(0)". The text matched with the +first pair of () with "submatch(1)". Likewise for further sub-matches in (). Be careful: The separation character must not appear in the expression! Consider using a character like "@" or ":". There is no problem if the result diff --git a/runtime/doc/digraph.txt b/runtime/doc/digraph.txt index 3b6424a22e..600692e25b 100644 --- a/runtime/doc/digraph.txt +++ b/runtime/doc/digraph.txt @@ -1,4 +1,4 @@ -*digraph.txt* For Vim version 8.1. Last change: 2016 Nov 04 +*digraph.txt* For Vim version 8.1. Last change: 2018 Dec 14 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt index 04bf4b1fd6..1fc1c2fef8 100644 --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1,4 +1,4 @@ -*editing.txt* For Vim version 8.1. Last change: 2018 Mar 29 +*editing.txt* For Vim version 8.1. Last change: 2018 Dec 16 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1415,7 +1415,7 @@ cannot be read without the right key. The text in the swap file and the undo file is also encrypted. *E843* However, this is done block-by-block and may reduce the time needed to crack a password. You can disable the swap file, but then a crash will cause you to -lose your work. The undo file can be disabled without much disadvantage. > +lose your work. The undo file can be disabled without too much disadvantage. > :set noundofile :noswapfile edit secrets diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 4e80f4a971..afc4fe134b 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 8.1. Last change: 2018 Dec 13 +*eval.txt* For Vim version 8.1. Last change: 2018 Dec 18 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2318,7 +2318,7 @@ prompt_setcallback({buf}, {expr}) none set prompt callback function prompt_setinterrupt({buf}, {text}) none set prompt interrupt function prompt_setprompt({buf}, {text}) none set prompt text prop_add({lnum}, {col}, {props}) none add a text property -prop_clear({lnum} [, {lnum_end} [, {bufnr}]]) +prop_clear({lnum} [, {lnum-end} [, {bufnr}]]) none remove all text properties prop_find({props} [, {direction}]) Dict search for a text property @@ -2714,7 +2714,7 @@ assert_fails({cmd} [, {error} [, {msg}]]) *assert_fails()* assert_false({actual} [, {msg}]) *assert_false()* When {actual} is not false an error message is added to - |v:errors|, like with |assert_equal()|. + |v:errors|, like with |assert_equal()|. Also see |assert-return|. A value is false when it is zero. When {actual} is not a number the assert fails. @@ -5058,7 +5058,7 @@ getwininfo([{winid}]) *getwininfo()* getwinpos([{timeout}]) *getwinpos()* The result is a list with two numbers, the result of - getwinposx() and getwinposy() combined: + getwinposx() and getwinposy() combined: [x-pos, y-pos] {timeout} can be used to specify how long to wait in msec for a response from the terminal. When omitted 100 msec is used. @@ -6688,7 +6688,7 @@ prop_add({lnum}, {col}, {props}) "end_lnum" - line number for end of text "end_col" - column for end of text; not used when "length" is present - "bufnr - buffer to add the property to; when + "bufnr" - buffer to add the property to; when omitted the current buffer is used "id" - user defined ID for the property; when omitted zero is used @@ -6699,7 +6699,7 @@ prop_add({lnum}, {col}, {props}) are passed. Either use "length" or "end_col" for a property within one line, or use "end_lnum" and "end_col" for a property that spans more than one line. - When neither "length" or "end_col" are passed the property + When neither "length" nor "end_col" are passed the property will apply to one character. "type" will first be looked up in the buffer the property is @@ -6709,10 +6709,10 @@ prop_add({lnum}, {col}, {props}) See |text-properties| for information about text properties. -prop_clear({lnum} [, {lnum_end} [, {props}]]) *prop_clear()* +prop_clear({lnum} [, {lnum-end} [, {props}]]) *prop_clear()* Remove all text properties from line {lnum}. - When {lnum_end} is given, remove all text properties from line - {lnum} to {lnum_end} (inclusive). + When {lnum-end} is given, remove all text properties from line + {lnum} to {lnum-end} (inclusive). When {props} contains a "bufnr" item use this buffer, otherwise use the current buffer. @@ -6772,7 +6772,7 @@ prop_list({lnum} [, {props}]) *prop_list()* *prop_remove()* *E968* -prop_remove({props} [, {lnum} [, {lnum_end}]]) +prop_remove({props} [, {lnum} [, {lnum_end}]]) Remove a matching text property from line {lnum}. When {lnum_end} is given, remove matching text properties from line {lnum} to {lnum_end} (inclusive). @@ -9046,7 +9046,7 @@ test_option_not_set({name}) *test_option_not_set()* Only to be used for testing! test_override({name}, {val}) *test_override()* - Overrides certain parts of Vims internal processing to be able + Overrides certain parts of Vim's internal processing to be able to run tests. Only to be used for testing Vim! The override is enabled when {val} is non-zero and removed when {val} is zero. diff --git a/runtime/doc/help.txt b/runtime/doc/help.txt index 20e6c16d28..b4c29e6c2c 100644 --- a/runtime/doc/help.txt +++ b/runtime/doc/help.txt @@ -1,4 +1,4 @@ -*help.txt* For Vim version 8.1. Last change: 2017 Oct 28 +*help.txt* For Vim version 8.1. Last change: 2018 Dec 14 VIM - main help file k @@ -113,7 +113,6 @@ Basic editing ~ |scroll.txt| scrolling the text in the window |insert.txt| Insert and Replace mode |change.txt| deleting and replacing text -|indent.txt| automatic indenting for C and other languages |undo.txt| Undo and Redo |repeat.txt| repeating commands, Vim scripts and debugging |visual.txt| using the Visual mode (selecting a text area) @@ -126,14 +125,11 @@ Advanced editing ~ |pattern.txt| regexp patterns and search commands |map.txt| key mapping and abbreviations |tagsrch.txt| tags and special searches -|quickfix.txt| commands for a quick edit-compile-fix cycle |windows.txt| commands for using multiple windows and buffers |tabpage.txt| commands for using multiple tab pages -|syntax.txt| syntax highlighting |spell.txt| spell checking |diff.txt| working with two to four versions of the same file |autocmd.txt| automatically executing commands on an event -|filetype.txt| settings done specifically for a type of file |eval.txt| expression evaluation, conditional commands |channel.txt| Jobs, Channels, inter-process communication |fold.txt| hide (fold) ranges of lines @@ -143,18 +139,27 @@ Special issues ~ |remote.txt| using Vim as a server or client |term.txt| using different terminals and mice |terminal.txt| Terminal window support + +Programming language support ~ +|indent.txt| automatic indenting for C and other languages +|syntax.txt| syntax highlighting +|textprop.txt| Attaching properties to text for highlighting or other +|filetype.txt| settings done specifically for a type of file +|quickfix.txt| commands for a quick edit-compile-fix cycle +|ft_ada.txt| Ada (the programming language) support +|ft_rust.txt| Filetype plugin for Rust +|ft_sql.txt| about the SQL filetype plugin + +Language support ~ |digraph.txt| list of available digraphs |mbyte.txt| multi-byte text support |mlang.txt| non-English language support +|rileft.txt| right-to-left editing mode |arabic.txt| Arabic language support and editing |farsi.txt| Farsi (Persian) editing |hebrew.txt| Hebrew language support and editing |russian.txt| Russian language support and editing -|ft_ada.txt| Ada (the programming language) support -|ft_rust.txt| Filetype plugin for Rust -|ft_sql.txt| about the SQL filetype plugin |hangulin.txt| Hangul (Korean) input mode -|rileft.txt| right-to-left editing mode GUI ~ |gui.txt| Graphical User Interface (GUI) diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index d43afe9dfb..2832bed446 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -1,4 +1,4 @@ -*map.txt* For Vim version 8.1. Last change: 2018 Dec 08 +*map.txt* For Vim version 8.1. Last change: 2018 Dec 18 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1254,7 +1254,7 @@ reported if any are supplied). However, it is possible to specify that the command can take arguments, using the -nargs attribute. Valid cases are: -nargs=0 No arguments are allowed (the default) - -nargs=1 Exactly one argument is required, it includes spaces + -nargs=1 Exactly one argument is required, it includes spaces -nargs=* Any number of arguments are allowed (0, 1, or many), separated by white space -nargs=? 0 or 1 arguments are allowed @@ -1279,7 +1279,7 @@ intended! Calling a function may be an alternative. Completion behavior ~ - *:command-completion* *E179* *E180* *E181* + *:command-completion* *E179* *E180* *E181* *:command-complete* By default, the arguments of user defined commands do not undergo completion. However, by specifying one or the other of the following attributes, argument @@ -1407,7 +1407,7 @@ Possible values are: -addr=loaded_buffers Range for loaded buffers -addr=windows Range for windows -addr=tabs Range for tab pages - -addr=other other kind of range + -addr=other other kind of range Special cases ~ diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 177a5699cb..3af7150c61 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 8.1. Last change: 2018 May 15 +*options.txt* For Vim version 8.1. Last change: 2018 Dec 18 VIM REFERENCE MANUAL by Bram Moolenaar @@ -4133,11 +4133,12 @@ A jump table for the options with a short description can be found at |Q_op|. l:Search,m:MoreMsg,M:ModeMsg,n:LineNr, N:CursorLineNr,r:Question,s:StatusLine, S:StatusLineNC,c:VertSplit,t:Title, - v:Visual,w:WarningMsg,W:WildMenu,f:Folded, - F:FoldColumn,A:DiffAdd,C:DiffChange, - D:DiffDelete,T:DiffText,>:SignColumn, - B:SpellBad,P:SpellCap,R:SpellRare, - L:SpellLocal,-:Conceal,+:Pmenu,=:PmenuSel, + v:Visual,V:VisualNOS,w:WarningMsg, + W:WildMenu,f:Folded,F:FoldColumn, + A:DiffAdd,C:DiffChange,D:DiffDelete, + T:DiffText,>:SignColumn,-:Conceal, + B:SpellBad,P:SpellCap,R:SpellRare, + L:SpellLocal,+:Pmenu,=:PmenuSel, x:PmenuSbar,X:PmenuThumb,*:TabLine, #:TabLineSel,_:TabLineFill,!:CursorColumn, .:CursorLine,o:ColorColumn,q:QuickFixLine, @@ -4182,16 +4183,16 @@ A jump table for the options with a short description can be found at |Q_op|. |hl-DiffDelete| D deleted line in diff mode |hl-DiffText| T inserted text in diff mode |hl-SignColumn| > column used for |signs| + |hl-Conceal| - the placeholders used for concealed characters + (see 'conceallevel') |hl-SpellBad| B misspelled word |spell| |hl-SpellCap| P word that should start with capital |spell| |hl-SpellRare| R rare word |spell| |hl-SpellLocal| L word from other region |spell| - |hl-Conceal| - the placeholders used for concealed characters - (see 'conceallevel') - |hl-Pmenu| + popup menu normal line - |hl-PmenuSel| = popup menu normal line - |hl-PmenuSbar| x popup menu scrollbar - |hl-PmenuThumb| X popup menu scrollbar thumb + |hl-Pmenu| + popup menu normal line + |hl-PmenuSel| = popup menu selected line + |hl-PmenuSbar| x popup menu scrollbar + |hl-PmenuThumb| X popup menu scrollbar thumb The display modes are: r reverse (termcap entry "mr" and "me") diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt index 6e652202b8..03a2799883 100644 --- a/runtime/doc/repeat.txt +++ b/runtime/doc/repeat.txt @@ -1,4 +1,4 @@ -*repeat.txt* For Vim version 8.1. Last change: 2018 Mar 04 +*repeat.txt* For Vim version 8.1. Last change: 2018 Dec 18 VIM REFERENCE MANUAL by Bram Moolenaar @@ -335,7 +335,10 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|. |+eval| feature} :scr[iptnames][!] {scriptId} *:script* - Edit script {scriptId}. Suggested name is ":script". + Edit script {scriptId}. Although ":scriptnames name" + works, using ":script name" is recommended. + When the current buffer can't be |abandon|ed and the ! + is not present, the command fails. *:fini* *:finish* *E168* :fini[sh] Stop sourcing a script. Can only be used in a Vim diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index d1875fc628..29fae2c3f7 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 8.1. Last change: 2018 Apr 30 +*syntax.txt* For Vim version 8.1. Last change: 2018 Dec 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -23,21 +23,22 @@ In the User Manual: 1. Quick start |:syn-qstart| 2. Syntax files |:syn-files| 3. Syntax loading procedure |syntax-loading| -4. Syntax file remarks |:syn-file-remarks| -5. Defining a syntax |:syn-define| -6. :syntax arguments |:syn-arguments| -7. Syntax patterns |:syn-pattern| -8. Syntax clusters |:syn-cluster| -9. Including syntax files |:syn-include| -10. Synchronizing |:syn-sync| -11. Listing syntax items |:syntax| -12. Highlight command |:highlight| -13. Linking groups |:highlight-link| -14. Cleaning up |:syn-clear| -15. Highlighting tags |tag-highlight| -16. Window-local syntax |:ownsyntax| -17. Color xterms |xterm-color| -18. When syntax is slow |:syntime| +4. Converting to HTML |2html.vim| +5. Syntax file remarks |:syn-file-remarks| +6. Defining a syntax |:syn-define| +7. :syntax arguments |:syn-arguments| +8. Syntax patterns |:syn-pattern| +9. Syntax clusters |:syn-cluster| +10. Including syntax files |:syn-include| +11. Synchronizing |:syn-sync| +12. Listing syntax items |:syntax| +13. Highlight command |:highlight| +14. Linking groups |:highlight-link| +15. Cleaning up |:syn-clear| +16. Highlighting tags |tag-highlight| +17. Window-local syntax |:ownsyntax| +18. Color xterms |xterm-color| +19. When syntax is slow |:syntime| {Vi does not have any of these commands} @@ -368,20 +369,9 @@ Upon loading a file, Vim finds the relevant syntax file as follows: syntax. ============================================================================== -4. Syntax file remarks *:syn-file-remarks* +4. Conversion to HTML *2html.vim* *convert-to-HTML* - *b:current_syntax-variable* -Vim stores the name of the syntax that has been loaded in the -"b:current_syntax" variable. You can use this if you want to load other -settings, depending on which syntax is active. Example: > - :au BufReadPost * if b:current_syntax == "csh" - :au BufReadPost * do-some-things - :au BufReadPost * endif - - -2HTML *2html.vim* *convert-to-HTML* - -This is not a syntax file itself, but a script that converts the current +2html is not a syntax file itself, but a script that converts the current window into HTML. Vim opens a new window in which it builds the HTML file. After you save the resulting file, you can view it with any browser. The @@ -773,6 +763,18 @@ When 1, generate XHTML 1.0 instead (XML compliant HTML). > :let g:html_use_xhtml = 1 < +============================================================================== +5. Syntax file remarks *:syn-file-remarks* + + *b:current_syntax-variable* +Vim stores the name of the syntax that has been loaded in the +"b:current_syntax" variable. You can use this if you want to load other +settings, depending on which syntax is active. Example: > + :au BufReadPost * if b:current_syntax == "csh" + :au BufReadPost * do-some-things + :au BufReadPost * endif + + ABEL *abel.vim* *ft-abel-syntax* @@ -3484,7 +3486,7 @@ The syntax script for zsh allows for syntax-based folding: > :let g:zsh_fold_enable = 1 ============================================================================== -5. Defining a syntax *:syn-define* *E410* +6. Defining a syntax *:syn-define* *E410* Vim understands three types of syntax items: @@ -3843,7 +3845,7 @@ DEFINING REGIONS *:syn-region* *:syn-start* *:syn-skip* *:syn-end* The maximum number of syntax groups is 19999. ============================================================================== -6. :syntax arguments *:syn-arguments* +7. :syntax arguments *:syn-arguments* The :syntax commands that define syntax items take a number of arguments. The common ones are explained here. The arguments may be given in any order @@ -4164,7 +4166,7 @@ IMPLICIT CONCEAL *:syn-conceal-implicit* Show either "syntax conceal on" or "syntax conceal off" (translated). ============================================================================== -7. Syntax patterns *:syn-pattern* *E401* *E402* +8. Syntax patterns *:syn-pattern* *E401* *E402* In the syntax commands, a pattern must be surrounded by two identical characters. This is like it works for the ":s" command. The most common to @@ -4342,7 +4344,7 @@ Note that only matches within a single line can be used. Multi-line matches cannot be referred to. ============================================================================== -8. Syntax clusters *:syn-cluster* *E400* +9. Syntax clusters *:syn-cluster* *E400* :sy[ntax] cluster {cluster-name} [contains={group-name}..] [add={group-name}..] @@ -4388,7 +4390,7 @@ This also has implications for nested clusters: > The maximum number of clusters is 9767. ============================================================================== -9. Including syntax files *:syn-include* *E397* +10. Including syntax files *:syn-include* *E397* It is often useful for one language's syntax file to include a syntax file for a related language. Depending on the exact relationship, this can be done in @@ -4429,7 +4431,7 @@ two different ways: The maximum number of includes is 999. ============================================================================== -10. Synchronizing *:syn-sync* *E403* *E404* +11. Synchronizing *:syn-sync* *E403* *E404* Vim wants to be able to start redrawing in any position in the document. To make this possible it needs to know the syntax state at the position where @@ -4621,7 +4623,7 @@ You can clear specific sync patterns with: > :syntax sync clear {sync-group-name} .. ============================================================================== -11. Listing syntax items *:syntax* *:sy* *:syn* *:syn-list* +12. Listing syntax items *:syntax* *:sy* *:syn* *:syn-list* This command lists all the syntax items: > @@ -4641,7 +4643,7 @@ Note that the ":syntax" command can be abbreviated to ":sy", although ":syn" is mostly used, because it looks better. ============================================================================== -12. Highlight command *:highlight* *:hi* *E28* *E411* *E415* +13. Highlight command *:highlight* *:hi* *E28* *E411* *E415* There are three types of highlight groups: - The ones used for specific languages. For these the name starts with the @@ -5134,7 +5136,7 @@ Tooltip Current font, background and foreground of the tooltips. set. ============================================================================== -13. Linking groups *:hi-link* *:highlight-link* *E412* *E413* +14. Linking groups *:hi-link* *:highlight-link* *E412* *E413* When you want to use the same highlighting for several syntax groups, you can do this more easily by linking the groups into one common highlight @@ -5172,7 +5174,7 @@ Without the "default" in the C syntax file, the highlighting would be overruled when the syntax file is loaded. ============================================================================== -14. Cleaning up *:syn-clear* *E391* +15. Cleaning up *:syn-clear* *E391* If you want to clear the syntax stuff for the current buffer, you can use this command: > @@ -5263,7 +5265,7 @@ syntax/syncolor.vim files are loaded: them. ============================================================================== -15. Highlighting tags *tag-highlight* +16. Highlighting tags *tag-highlight* If you want to highlight all the tags in your file, you can use the following mappings. @@ -5298,7 +5300,7 @@ And put these lines in your .vimrc: > autocmd BufRead,BufNewFile *.[ch] endif ============================================================================== -16. Window-local syntax *:ownsyntax* +17. Window-local syntax *:ownsyntax* Normally all windows on a buffer share the same syntax settings. It is possible, however, to set a particular window on a file to have its own @@ -5328,7 +5330,7 @@ is loaded into that window or the file is reloaded. When splitting the window, the new window will use the original syntax. ============================================================================== -17. Color xterms *xterm-color* *color-xterm* +18. Color xterms *xterm-color* *color-xterm* Most color xterms have only eight colors. If you don't get colors with the default setup, it should work with these lines in your .vimrc: > @@ -5472,7 +5474,7 @@ that Setup / Font / Enable Bold is NOT enabled. ============================================================================== -18. When syntax is slow *:syntime* +19. When syntax is slow *:syntime* This is aimed at authors of a syntax file. diff --git a/runtime/doc/tags b/runtime/doc/tags index d771fcc7dd..05259767d1 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -1356,6 +1356,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX* +terminfo various.txt /*+terminfo* +termresponse various.txt /*+termresponse* +textobjects various.txt /*+textobjects* ++textprop various.txt /*+textprop* +tgetent various.txt /*+tgetent* +timers various.txt /*+timers* +title various.txt /*+title* @@ -2919,6 +2920,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX* :scl change.txt /*:scl* :scp change.txt /*:scp* :scr repeat.txt /*:scr* +:script repeat.txt /*:script* :scripte repeat.txt /*:scripte* :scriptencoding repeat.txt /*:scriptencoding* :scriptnames repeat.txt /*:scriptnames* @@ -4653,7 +4655,16 @@ E96 diff.txt /*E96* E960 options.txt /*E960* E961 cmdline.txt /*E961* E962 eval.txt /*E962* +E963 eval.txt /*E963* +E964 eval.txt /*E964* +E965 eval.txt /*E965* +E966 eval.txt /*E966* +E967 textprop.txt /*E967* +E968 eval.txt /*E968* +E969 eval.txt /*E969* E97 diff.txt /*E97* +E970 eval.txt /*E970* +E971 textprop.txt /*E971* E98 diff.txt /*E98* E99 diff.txt /*E99* EX intro.txt /*EX* @@ -8114,7 +8125,18 @@ prompt-buffer channel.txt /*prompt-buffer* prompt_setcallback() eval.txt /*prompt_setcallback()* prompt_setinterrupt() eval.txt /*prompt_setinterrupt()* prompt_setprompt() eval.txt /*prompt_setprompt()* +promptbuffer-functions usr_41.txt /*promptbuffer-functions* pronounce intro.txt /*pronounce* +prop_add() eval.txt /*prop_add()* +prop_clear() eval.txt /*prop_clear()* +prop_find() eval.txt /*prop_find()* +prop_list() eval.txt /*prop_list()* +prop_remove() eval.txt /*prop_remove()* +prop_type_add() eval.txt /*prop_type_add()* +prop_type_change() eval.txt /*prop_type_change()* +prop_type_delete() eval.txt /*prop_type_delete()* +prop_type_get() eval.txt /*prop_type_get()* +prop_type_list() eval.txt /*prop_type_list()* psql ft_sql.txt /*psql* ptcap.vim syntax.txt /*ptcap.vim* pterm-mouse options.txt /*pterm-mouse* @@ -8936,6 +8958,7 @@ tag-binary-search tagsrch.txt /*tag-binary-search* tag-blocks motion.txt /*tag-blocks* tag-commands tagsrch.txt /*tag-commands* tag-details tagsrch.txt /*tag-details* +tag-functions usr_41.txt /*tag-functions* tag-highlight syntax.txt /*tag-highlight* tag-matchlist tagsrch.txt /*tag-matchlist* tag-old-static tagsrch.txt /*tag-old-static* @@ -9132,7 +9155,11 @@ tex.vim syntax.txt /*tex.vim* text-functions usr_41.txt /*text-functions* text-objects motion.txt /*text-objects* text-objects-changed version5.txt /*text-objects-changed* +text-prop-functions textprop.txt /*text-prop-functions* +text-prop-intro textprop.txt /*text-prop-intro* +text-properties textprop.txt /*text-properties* textlock eval.txt /*textlock* +textprop.txt textprop.txt /*textprop.txt* tf.vim syntax.txt /*tf.vim* this_session-variable eval.txt /*this_session-variable* throw-catch eval.txt /*throw-catch* diff --git a/runtime/doc/textprop.txt b/runtime/doc/textprop.txt index c88ca37b8c..72e70c4a1d 100644 --- a/runtime/doc/textprop.txt +++ b/runtime/doc/textprop.txt @@ -1,4 +1,4 @@ -*textprop.txt* For Vim version 8.1. Last change: 2018 Dec 13 +*textprop.txt* For Vim version 8.1. Last change: 2018 Dec 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -72,8 +72,8 @@ Suppose line 11 in a buffer has this text (excluding the indent): To highlight the numbers: > call prop_type_add('number', {'highlight': 'Constant'}) - call prop_add(11, 12, {'length': 3, 'type': 'number}) - call prop_add(11, 32, {'length': 4, 'type': 'number}) + call prop_add(11, 12, {'length': 3, 'type': 'number'}) + call prop_add(11, 32, {'length': 4, 'type': 'number'}) Setting "start_incl" and "end_incl" is useful when white space surrounds the text, e.g. for a function name. Using false is useful when the text starts @@ -86,7 +86,7 @@ and/or ends with a specific character, such as the quote surrounding a string. ^^^^^^ property with start_incl and end_incl not set Nevertheless, when text is inserted or deleted the text may need to be parsed -and the text properties updated. But this can be done asynchrnously. +and the text properties updated. But this can be done asynchronously. ============================================================================== 2. Functions *text-prop-functions* diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index 4b4439f55c..d09ecee6bd 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 8.1. Last change: 2018 Dec 09 +*todo.txt* For Vim version 8.1. Last change: 2018 Dec 17 VIM REFERENCE MANUAL by Bram Moolenaar @@ -56,8 +56,6 @@ Prompt buffer: Terminal debugger: - Make prompt-buffer variant work better. -- If breakpoints are deleted with "delete" in gdb the response is not parsed - properly and the breakpoints in Vim are not removed. - Add option to not open the program window. It's not used when attaching to an already running program. (M. Kelly) - When only gdb window exists, on "quit" edit another buffer. @@ -67,7 +65,7 @@ Terminal debugger: - Add support for lldb? #3565 - Could we do something similar for debugging Vim scripts? At least see the script while stepping through it. Simple version would use an extra window. - More complete solution would actually run Vim in a Terminal an control it + More complete solution would actually run Vim in a Terminal and control it with another Vim instance. Terminal emulator window: @@ -111,9 +109,6 @@ Problem with Visual yank when 'linebreak' and 'showbreak' are set. Patch with tests, but it's not clear how it is supposed to work. (tommm, 2018 Nov 17) -Patch to add configure flags to skip rtl, farsi and arabic support. -(Diego CarriĆ³n, #1867) - Key mapping times out when using a timer in Gvim. (Michael Henry, 2018 Sep 9, #3417) @@ -121,6 +116,17 @@ Does not build with MinGW out of the box: - _stat64 is not defined, need to use "struct stat" in vim.h - WINVER conflict, should use 0x0600 by default? +Signs: +- Patch to define and manipulate signs with functions. Adds sign groups and + priority. (Yegappan Lakshmanan, #3652) +- Avoid that "sign unplace id" does a redraw right away, esp. when there is + a sequence of these commands. (Andy Stewart, 2018 Mar 16) +- Patch to right-align signs. (James Kolb (email james), 2013 Sep 23) +- Patch from Christian Brabandt to make the "buffer" argument for ":sign + place" optional. (2013 Jul 12) + +Rename get_tv_ functions to tv_get_. + Crash in terminal with long multi-byte sequence. (2018 Nov 17, #3619) Dominique cannot reproduce. Update Nov 18. Suggested solution by Yasuhiro Matsumoto, 2018 Nov 18. @@ -143,10 +149,7 @@ Win32 key codes are messy. Mike Williams tried to fix that, but now old mappings no longer work. Create a new terminal for the better solution? Patch to fix that appending makes items to be "recognized". -(Yegappan, 2018 Nov 23). Reported by Daniel Hahler, #3633. - -Patch to define and manipulate signs with functions. Adds sign groups and -priority. (Yegappan Lakshmanan, #3652) +(Yegappan, 2018 Nov 23, #3683). Reported by Daniel Hahler, #3633. Improve fallback for menu translations, to avoid having to create lots of files that source the actual file. E.g. menu_da_de -> menu_da @@ -173,6 +176,21 @@ Problem with :tlmenu: Detach item added with all modes? Issue #3563. C syntax: {} inside () causes following {} to be highlighted as error. (Michalis Giannakidis, 2006 Jun 1) +Patch to fix function object in Python3. (Ozaki Kiichi, #3681) + +Patch on #3690 to fix that "wincmd p" does not always behave properly. +(Christian Brabandt, 2018 Dec 17) + +"gn" selects two matches instead of one when the pattern contains "\zs" and +spans more than one line. (#3695) + +Patch: When using %v in 'errorformat', assume the number is the screen column +not bytes, also handle multi-byte charactes. (Yegappan Lakshmanan, #3700) + +Patch to add FOR_ALL_FRAMES. (Yegappan, 2018 Dec 11, #3686) + +Patch for MinGW build with static libraries. (Ken Takata, 2018 Dec 16) + More warnings from static analysis: https://lgtm.com/projects/g/vim/vim/alerts/?mode=list @@ -184,6 +202,8 @@ Patch for this: (Aron Widforss, 2018 Oct 13, #3539) Patch for ConPTY support, #3474: What is the status? |