mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 23:48:32 +00:00
feat(defaults): set nojoinspaces
This commit is contained in:
@@ -1288,7 +1288,7 @@ return {
|
||||
short_desc=N_("two spaces after a period with a join command"),
|
||||
type='bool', scope={'global'},
|
||||
varname='p_js',
|
||||
defaults={if_true=true}
|
||||
defaults={if_true=false}
|
||||
},
|
||||
{
|
||||
full_name='jumpoptions', abbreviation='jop',
|
||||
|
@@ -12,6 +12,7 @@ set directory^=.
|
||||
set fillchars=vert:\|,fold:-
|
||||
set laststatus=1
|
||||
set listchars=eol:$
|
||||
set joinspaces
|
||||
set nohidden smarttab noautoindent noautoread complete-=i noruler noshowcmd
|
||||
set nrformats+=octal
|
||||
set shortmess-=F
|
||||
|
@@ -35,6 +35,7 @@ endfunc
|
||||
|
||||
" Tests for setting the '[,'] marks when joining lines.
|
||||
func Test_join_marks()
|
||||
set joinspaces
|
||||
enew
|
||||
call append(0, [
|
||||
\ "\t\tO sodales, ludite, vos qui",
|
||||
@@ -53,6 +54,7 @@ func Test_join_marks()
|
||||
call assert_equal([0, 4, 11, 0], getpos("'["))
|
||||
call assert_equal([0, 4, 67, 0], getpos("']"))
|
||||
enew!
|
||||
set nojoinspaces
|
||||
endfunc
|
||||
|
||||
" Test for joining lines and marks in them
|
||||
|
Reference in New Issue
Block a user