aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorEric Roberts <notthebmovieactor@gmail.com>2017-10-27 10:48:24 -0400
committerJustin M. Keyes <justinkz@gmail.com>2017-11-18 12:02:15 +0100
commita6de144c3e5cc888ab3cb7c2034a762b23566919 (patch)
tree7a6368c0786b50ace0953cfa1a1bdcf7a8f6be50 /src/nvim/options.lua
parentf185c739bc843705bf46e844cb209b3f6b2de557 (diff)
downloadrneovim-a6de144c3e5cc888ab3cb7c2034a762b23566919.tar.gz
rneovim-a6de144c3e5cc888ab3cb7c2034a762b23566919.tar.bz2
rneovim-a6de144c3e5cc888ab3cb7c2034a762b23566919.zip
'viewoptions': add "curdir" flag #7447
The flag enables the current local directory set by ":lcd" to be saved to views which is the current default behaviour. The option can be removed to disable this behaviour. closes #7435 vim-patch:8.0.1289
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index 29220a6b50..52e478e78a 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -2610,7 +2610,7 @@ return {
deny_duplicates=true,
vi_def=true,
varname='p_vop',
- defaults={if_true={vi="folds,options,cursor"}}
+ defaults={if_true={vi="folds,options,cursor,curdir"}}
},
{
full_name='viminfo', abbreviation='vi',