summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-11-11 18:16:48 +0100
committerBram Moolenaar <Bram@vim.org>2017-11-11 18:16:48 +0100
commit13e904199c2af6aac9b289a7f520d8e16f6e478a (patch)
tree0c1b860753be379999ff135050a4454e03c530e9 /runtime
parentae147ab2d7649e7a0bcf11b9f3db1900c1a4d594 (diff)
downloadvim-git-13e904199c2af6aac9b289a7f520d8e16f6e478a.tar.gz
patch 8.0.1289: mkview always includes the local directoryv8.0.1289
Problem: Mkview always includes the local directory. Solution: Add the "curdir" value in 'viewoptions'. (Eric Roberts, closes #2316)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 28b545721..33dfea09a 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -8387,7 +8387,7 @@ A jump table for the options with a short description can be found at |Q_op|.
security reasons.
*'viewoptions'* *'vop'*
-'viewoptions' 'vop' string (default: "folds,options,cursor")
+'viewoptions' 'vop' string (default: "folds,options,cursor,curdir")
global
{not in Vi}
{not available when compiled without the |+mksession|
@@ -8405,6 +8405,7 @@ A jump table for the options with a short description can be found at |Q_op|.
slashes
unix with Unix end-of-line format (single <NL>), even when
on Windows or DOS
+ curdir the window-local directory, if set with `:lcd`
"slash" and "unix" are useful on Windows when sharing view files
with Unix. The Unix version of Vim cannot source dos format scripts,