Skip to content

Commit 1a4e74f

Browse files
committed
sensible.vim: map()+copy() -> change join() sep
1 parent f039d07 commit 1a4e74f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin/sensible.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ if has('langmap') && exists('+langremap') && &langremap
130130
endif
131131

132132
function! s:CheckDefaults() abort
133-
let check_str = join(map(copy(s:default_opts), 'v:val . "?"'), ' ')
133+
let check_str = join(s:default_opts, '? ') . '?'
134134
let s:global_settings = s:Execute('verbose setglobal all lines? ' . check_str)
135135
" 'lines=' delimits the start of the answer
136136
let s:global_settings = substitute(s:global_settings, '.*lines=[^\n]*', '', '') . "\n"

0 commit comments

Comments
 (0)