aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-05-01 13:15:27 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-05-01 13:19:34 +0200
commiteb7ea6e12253d6fb9296113b01f5d257341a7a18 (patch)
treee67f4e2954320a3bb50fe21a2c695430a90aae79 /runtime/doc
parent44ea50cee45d7c1fc464b77f45ef480916dba19a (diff)
downloadrneovim-eb7ea6e12253d6fb9296113b01f5d257341a7a18.tar.gz
rneovim-eb7ea6e12253d6fb9296113b01f5d257341a7a18.tar.bz2
rneovim-eb7ea6e12253d6fb9296113b01f5d257341a7a18.zip
vim-patch:369b6f57c426
Update runtime files. https://github.com/vim/vim/commit/369b6f57c426b4bf39b4a0cac8d21ed1b5f7de4d
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/autocmd.txt2
-rw-r--r--runtime/doc/eval.txt2
-rw-r--r--runtime/doc/options.txt3
-rw-r--r--runtime/doc/starting.txt3
4 files changed, 6 insertions, 4 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index f783438fc9..50af870975 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -30,7 +30,7 @@ files matching *.c. You can also use autocommands to implement advanced
features, such as editing compressed files (see |gzip-example|). The usual
place to put autocommands is in your vimrc file.
- *E203* *E204* *E143* *E855*
+ *E203* *E204* *E143* *E855* *E937*
WARNING: Using autocommands is very powerful, and may lead to unexpected side
effects. Be careful not to destroy your text.
- It's a good idea to do some testing on an expendable copy of a file first.
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 931e1821cd..7573165c60 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -7061,7 +7061,7 @@ strcharpart({src}, {start}[, {len}]) *strcharpart()*
Like |strpart()| but using character index and length instead
of byte index and length.
When a character index is used where a character does not
- exist it is assumed to be one byte. For example: >
+ exist it is assumed to be one character. For example: >
strcharpart('abc', -1, 2)
< results in 'a'.
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 0492ba891d..6684626487 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -4085,7 +4085,7 @@ A jump table for the options with a short description can be found at |Q_op|.
local to buffer
When off the buffer contents cannot be changed. The 'fileformat' and
'fileencoding' options also can't be changed.
- Can be reset with the |-M| command line argument.
+ Can be reset on startup with the |-M| command line argument.
*'modified'* *'mod'* *'nomodified'* *'nomod'*
'modified' 'mod' boolean (default off)
@@ -4656,6 +4656,7 @@ A jump table for the options with a short description can be found at |Q_op|.
buffer, unless the 'Z' flag is in 'cpoptions'.
When using the ":view" command the 'readonly' option is
set for the newly edited buffer.
+ See 'modifiable' for disallowing changes to the buffer.
*'redrawtime'* *'rdt'*
'redrawtime' 'rdt' number (default 2000)
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index edb0770313..5822510a8a 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -181,6 +181,7 @@ argument.
the executable "view" has the same effect as the -R argument.
The 'updatecount' option will be set to 10000, meaning that
the swap file will not be updated automatically very often.
+ See |-M| for disallowing modifications.
*-m*
-m Modifications not allowed to be written. The 'write' option
@@ -734,7 +735,7 @@ There are several ways to exit Vim:
- Use `:cquit`. Also when there are changes.
When using `:cquit` or when there was an error message Vim exits with exit
-code 1. Errors can be avoided by using `:silent!`.
+code 1. Errors can be avoided by using `:silent!` or with `:catch`.
==============================================================================
6. Saving settings *save-settings*