diff runtime/doc/options.txt @ 12824:79a754456110 v8.0.1289

patch 8.0.1289: mkview always includes the local directory commit https://github.com/vim/vim/commit/13e904199c2af6aac9b289a7f520d8e16f6e478a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 11 18:16:48 2017 +0100 patch 8.0.1289: mkview always includes the local directory Problem: Mkview always includes the local directory. Solution: Add the "curdir" value in 'viewoptions'. (Eric Roberts, closes #2316)
author Christian Brabandt <cb@256bit.org>
date Sat, 11 Nov 2017 18:30:06 +0100
parents 29a728529f92
children f690da1b3c04
line wrap: on
line diff
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -8387,7 +8387,7 @@ A jump table for the options with a shor
 	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 shor
 			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,