diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-04-29 14:59:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-29 14:59:10 +0200 |
commit | 5a304b78647d1a3913cbab197ccde033ae0510cd (patch) | |
tree | 654eb1c155b568745309646e79b970e011527577 /runtime/doc | |
parent | 51a2d8dc36b56125c81a085a773eb47671eec7f0 (diff) | |
parent | 024ff6b80831a27d2f6571006eb6fdf94d95f882 (diff) | |
download | rneovim-5a304b78647d1a3913cbab197ccde033ae0510cd.tar.gz rneovim-5a304b78647d1a3913cbab197ccde033ae0510cd.tar.bz2 rneovim-5a304b78647d1a3913cbab197ccde033ae0510cd.zip |
Merge #6615 from justinmk/vim-patches
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/eval.txt | 2 | ||||
-rw-r--r-- | runtime/doc/pi_gzip.txt | 1 | ||||
-rw-r--r-- | runtime/doc/quickfix.txt | 2 | ||||
-rw-r--r-- | runtime/doc/syntax.txt | 9 | ||||
-rw-r--r-- | runtime/doc/tabpage.txt | 3 | ||||
-rw-r--r-- | runtime/doc/windows.txt | 2 |
6 files changed, 15 insertions, 4 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 2d6c6ee3a0..30fd75c447 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -2473,7 +2473,7 @@ assert_exception({error} [, {msg}]) *assert_exception()* assert_fails({cmd} [, {error}]) *assert_fails()* Run {cmd} and add an error message to |v:errors| if it does NOT produce an error. - When {error} is given it must match |v:errmsg|. + When {error} is given it must match in |v:errmsg|. assert_false({actual} [, {msg}]) *assert_false()* When {actual} is not false an error message is added to diff --git a/runtime/doc/pi_gzip.txt b/runtime/doc/pi_gzip.txt index 5b7a903f9c..a2497c89f9 100644 --- a/runtime/doc/pi_gzip.txt +++ b/runtime/doc/pi_gzip.txt @@ -25,6 +25,7 @@ with these extensions: *.bz2 bzip2 *.lzma lzma *.xz xz + *.lz lzip That's actually the only thing you need to know. There are no options. diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt index 1bc5c31281..d9f6b2c39d 100644 --- a/runtime/doc/quickfix.txt +++ b/runtime/doc/quickfix.txt @@ -872,7 +872,7 @@ need to write down a "todo" list. The Vim plugins in the "compiler" directory will set options to use the -selected compiler. For ":compiler" local options are set, for ":compiler!" +selected compiler. For `:compiler` local options are set, for `:compiler!` global options. *current_compiler* To support older Vim versions, the plugins always use "current_compiler" and diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 9e4f546f64..7f4ede4124 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -4572,7 +4572,14 @@ in their own color. Doesn't work recursively, thus you can't use ":colorscheme" in a color scheme script. - After the color scheme has been loaded the + + To customize a colorscheme use another name, e.g. + "~/.vim/colors/mine.vim", and use `:runtime` to load + the original colorscheme: > + runtime colors/evening.vim + hi Statement ctermfg=Blue guifg=Blue + +< After the color scheme has been loaded the |ColorScheme| autocommand event is triggered. For info about writing a colorscheme file: > :edit $VIMRUNTIME/colors/README.txt diff --git a/runtime/doc/tabpage.txt b/runtime/doc/tabpage.txt index c9635a9f6f..5ee71d7aab 100644 --- a/runtime/doc/tabpage.txt +++ b/runtime/doc/tabpage.txt @@ -54,6 +54,8 @@ right of the labels. In the GUI tab pages line you can use the right mouse button to open menu. |tabline-menu|. +For the related autocommands see |tabnew-autocmd|. + :[count]tabe[dit] *:tabe* *:tabedit* *:tabnew* :[count]tabnew Open a new tab page with an empty window, after the current @@ -279,6 +281,7 @@ Variables local to a tab page start with "t:". |tabpage-variable| Currently there is only one option local to a tab page: 'cmdheight'. + *tabnew-autocmd* The TabLeave and TabEnter autocommand events can be used to do something when switching from one tab page to another. The exact order depends on what you are doing. When creating a new tab page this works as if you create a new diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt index fa7a7f2a81..ebedbb8ae6 100644 --- a/runtime/doc/windows.txt +++ b/runtime/doc/windows.txt @@ -287,7 +287,7 @@ CTRL-W CTRL-Q *CTRL-W_CTRL-Q* :1quit " quit the first window :$quit " quit the last window :9quit " quit the last window - " if there are less than 9 windows opened + " if there are fewer than 9 windows opened :-quit " quit the previous window :+quit " quit the next window :+2quit " quit the second next window |