diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-12-03 20:58:03 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-03 20:58:03 -0800 |
commit | 3aa95ef27eb8817bc2ceddb6caf2b209e00a5e8d (patch) | |
tree | 390c430bf84e203818b79cd7b69f643b2f43bd6e /src | |
parent | bcd5fc9764bba22cbfa6c1f2bf8849d5c712c0d9 (diff) | |
parent | 3beef8ee1ca9699d75b8877ec9b77493b58b0ed4 (diff) | |
download | rneovim-3aa95ef27eb8817bc2ceddb6caf2b209e00a5e8d.tar.gz rneovim-3aa95ef27eb8817bc2ceddb6caf2b209e00a5e8d.tar.bz2 rneovim-3aa95ef27eb8817bc2ceddb6caf2b209e00a5e8d.zip |
defaults: set nostartofline (#11135)
Having the cursor change column can be surprising.
Force startofline in functional and old tests.
Remove the functional breakindent test, as it's a subset of the oldtest one.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/options.lua | 4 | ||||
-rw-r--r-- | src/nvim/testdir/setup.vim | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 0aa367e059..1e7105219f 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -2325,9 +2325,9 @@ return { full_name='startofline', abbreviation='sol', type='bool', scope={'global'}, vi_def=true, - vim=true, + vim=false, varname='p_sol', - defaults={if_true={vi=true}} + defaults={if_true={vi=false}} }, { full_name='statusline', abbreviation='stl', diff --git a/src/nvim/testdir/setup.vim b/src/nvim/testdir/setup.vim index ea28f328ae..d032c9a739 100644 --- a/src/nvim/testdir/setup.vim +++ b/src/nvim/testdir/setup.vim @@ -19,6 +19,7 @@ set sidescroll=0 set tags=./tags,tags set undodir^=. set wildoptions= +set startofline " Prevent Nvim log from writing to stderr. let $NVIM_LOG_FILE = exists($NVIM_LOG_FILE) ? $NVIM_LOG_FILE : 'Xnvim.log' |