aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2019-10-01 23:14:00 +0900
committerMatthieu Coudron <mattator@gmail.com>2019-12-03 13:31:17 +0100
commit3beef8ee1ca9699d75b8877ec9b77493b58b0ed4 (patch)
tree51141b1b430920f6925e178905228e019d21fc79 /src
parent1ff5b60cb96aea3b3f6ef9e2792c5797dfda72dc (diff)
downloadrneovim-3beef8ee1ca9699d75b8877ec9b77493b58b0ed4.tar.gz
rneovim-3beef8ee1ca9699d75b8877ec9b77493b58b0ed4.tar.bz2
rneovim-3beef8ee1ca9699d75b8877ec9b77493b58b0ed4.zip
defaults: set nostartofline
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.lua4
-rw-r--r--src/nvim/testdir/setup.vim1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index d20174466d..903b7e982a 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -2323,9 +2323,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'