diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-03-21 13:52:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-21 13:52:38 +0100 |
commit | 2611ba8abb19a3b1f910d4c29eed5039a819e712 (patch) | |
tree | 583c36f5830159224d746958430f96b9d724591f /runtime/doc | |
parent | 66259e4c498dd3b5278aeea16cc3a71ed83f1b76 (diff) | |
parent | cc421270ee6fd3fbd6e1e7bd766f71e1db30c7b5 (diff) | |
download | rneovim-2611ba8abb19a3b1f910d4c29eed5039a819e712.tar.gz rneovim-2611ba8abb19a3b1f910d4c29eed5039a819e712.tar.bz2 rneovim-2611ba8abb19a3b1f910d4c29eed5039a819e712.zip |
Merge #6324 from justinmk/vim-patch-bc8801c9317eb
vim-patch.sh, vim-patch:bc8801c9317eb
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/autocmd.txt | 5 | ||||
-rw-r--r-- | runtime/doc/eval.txt | 8 | ||||
-rw-r--r-- | runtime/doc/map.txt | 8 | ||||
-rw-r--r-- | runtime/doc/various.txt | 1 | ||||
-rw-r--r-- | runtime/doc/windows.txt | 2 |
5 files changed, 14 insertions, 10 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index 180127cd52..b865cb9bc9 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -1184,10 +1184,11 @@ name! different from existing {event} names, as this most likely will not do what you intended. - *:augroup-delete* *E367* + *:augroup-delete* *E367* *W19* :aug[roup]! {name} Delete the autocmd group {name}. Don't use this if there is still an autocommand using - this group! This is not checked. + this group! You will get a warning if doing + it anyway. To enter autocommands for a specific group, use this method: 1. Select the group with ":augroup {name}". diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index e1a8ba079a..238e1758e5 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -247,7 +247,7 @@ it. To change a list in-place see |list-modification| below. Sublist ~ - + *sublist* A part of the List can be obtained by specifying the first and last index, separated by a colon in square brackets: > :let shortlist = mylist[2:-1] " get List [3, "four"] @@ -975,10 +975,10 @@ Examples: > :let s = line(".")[4:] " from the fifth byte to the end :let s = s[:-3] " remove last two bytes < - *sublist* *slice* + *slice* If expr8 is a |List| this results in a new |List| with the items indicated by the indexes expr1a and expr1b. This works like with a String, as explained -just above, except that indexes out of range cause an error. Examples: > +just above. Also see |sublist| below. Examples: > :let l = mylist[:3] " first four items :let l = mylist[4:4] " List with one item :let l = mylist[:] " shallow copy of a List @@ -8219,7 +8219,7 @@ See |:verbose-cmd| for more information. : let x += 1 : return x : endfunction - : return function('Bar') + : return funcref('Bar') :endfunction :let F = Foo() diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index 53b152dc06..6dc8b1acc8 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -1411,9 +1411,11 @@ The valid escape sequences are <mods> The command modifiers, if specified. Otherwise, expands to nothing. Supported modifiers are |:aboveleft|, |:belowright|, |:botright|, |:browse|, |:confirm|, |:hide|, |:keepalt|, - |:keepjumps|, |:keepmarks|, |:keeppatterns|, |:lockmarks|, - |:noswapfile|, |:silent|, |:tab|, |:topleft|, |:verbose|, and - |:vertical|. + |:keepjumps|, |:keepmarks|, |:keeppatterns|, |:leftabove|, + |:lockmarks|, |:noswapfile| |:rightbelow|, |:silent|, |:tab|, + |:topleft|, |:verbose|, and |:vertical|. + Note that these are not yet supported: |:noautocmd|, + |:sandbox| and |:unsilent|. Examples: > command! -nargs=+ -complete=file MyEdit \ for f in expand(<q-args>, 0, 1) | diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt index 0ac294ec37..3a66becb9a 100644 --- a/runtime/doc/various.txt +++ b/runtime/doc/various.txt @@ -331,6 +331,7 @@ N *+gettext* message translations |multi-lang| N *+insert_expand* |insert_expand| Insert mode completion N *+jumplist* |jumplist| B *+keymap* |'keymap'| +N *+lambda* |lambda| and |closure| B *+langmap* |'langmap'| N *+libcall* |libcall()| N *+linebreak* |'linebreak'|, |'breakat'| and |'showbreak'| diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt index 5b94626e36..25239bd7ae 100644 --- a/runtime/doc/windows.txt +++ b/runtime/doc/windows.txt @@ -249,7 +249,7 @@ window will appear. far left and occupies the full height of the Vim window. Doesn't work for |:execute| and |:normal|. - *:botright* + *:bo* *:botright* :bo[tright] {cmd} Execute {cmd}. If it contains a command that splits a window, it will appear at the bottom and occupy the full width of the |