aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/options.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r--runtime/doc/options.txt30
1 files changed, 17 insertions, 13 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index f8a6ee4a48..d0ead3c256 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -295,12 +295,12 @@ files. You use this command: >
:setlocal makeprg=perlmake
You can switch back to using the global value by making the local value empty: >
:setlocal makeprg=
-This only works for a string option. For a boolean option you need to use the
-"<" flag, like this: >
+This only works for a string option. For a number or boolean option you need
+to use the "<" flag, like this: >
:setlocal autoread<
-Note that for non-boolean options using "<" copies the global value to the
-local value, it doesn't switch back to using the global value (that matters
-when the global value changes later). You can also use: >
+Note that for non-boolean and non-number options using "<" copies the global
+value to the local value, it doesn't switch back to using the global value
+(that matters when the global value changes later). You can also use: >
:set path<
This will make the local value of 'path' empty, so that the global value is
used. Thus it does the same as: >
@@ -1661,7 +1661,10 @@ A jump table for the options with a short description can be found at |Q_op|.
deleted only once. Also when repeating "R" with "."
and a count.
*cpo-y*
- y A yank command can be redone with ".".
+ y A yank command can be redone with ".". Think twice if
+ you really want to use this, it may break some
+ plugins, since most people expect "." to only repeat a
+ change.
*cpo-Z*
Z When using "w!" while the 'readonly' option is set,
don't reset 'readonly'.
@@ -1935,7 +1938,7 @@ A jump table for the options with a short description can be found at |Q_op|.
diff library.
algorithm:{text} Use the specified diff algorithm with the
- internal diff engine. Currently supported
+ internal diff engine. Currently supported
algorithms are:
myers the default algorithm
minimal spend extra time to generate the
@@ -5626,8 +5629,8 @@ A jump table for the options with a short description can be found at |Q_op|.
After this option has been set successfully, Vim will source the files
"spell/LANG.vim" in 'runtimepath'. "LANG" is the value of 'spelllang'
- up to the first character that is not an ASCII letter and not a dash.
- Also see |set-spc-auto|.
+ up to the first character that is not an ASCII letter or number and
+ not a dash. Also see |set-spc-auto|.
*'spellsuggest'* *'sps'*
@@ -6217,10 +6220,11 @@ A jump table for the options with a short description can be found at |Q_op|.
'thesaurus' 'tsr' string (default "")
global or local to buffer |global-local|
List of file names, separated by commas, that are used to lookup words
- for thesaurus completion commands |i_CTRL-X_CTRL-T|. Each line in
- the file should contain words with similar meaning, separated by
- non-keyword characters (white space is preferred). Maximum line
- length is 510 bytes.
+ for thesaurus completion commands |i_CTRL-X_CTRL-T|.
+
+ Each line in the file should contain words with similar meaning,
+ separated by non-keyword characters (white space is preferred).
+ Maximum line length is 510 bytes.
To include a comma in a file name precede it with a backslash. Spaces
after a comma are ignored, otherwise spaces are included in the file