" Cleanup
au! OptionSet
+ " set tags&
for opt in ['nu', 'ai', 'acd', 'ar', 'bs', 'backup', 'cul', 'cp', 'backupext', 'tags', 'spelllang', 'statusline', 'foldignore', 'cmdheight', 'undolevels', 'wrapmargin', 'foldcolumn', 'wrapscan', 'autoread', 'cindent', 'cursorcolumn']
exe printf(":set %s&vim", opt)
endfor
endfor
call delete('Xtags')
+ set tags&
call assert_fails('call getcompletion("", "burp")', 'E475:')
endfunc
call feedkeys(":set tags=./\\\\ dif\<C-A>\<C-B>\"\<CR>", 'tx')
call assert_equal('"set tags=./\\ diff diffexpr diffopt', @:)
+ set tags&
endfunc
func Test_set_errors()
endfor
call delete('Xtags')
+ set tags&
set ic&
setg tc&
setl tc&
call assert_equal(2, winnr('$'))
call delete('Xtags')
+ set tags&
quit
endfunc
enew | only
call delete('Xfile1')
call delete('Xtags')
+ set tags&
set switchbuf&vim
endfunc
tag
call assert_equal(bufname('%'), 'Xtest.h')
- set tag&
+ set tags&
call delete('Xtags')
bwipe Xtest.h
bwipe Xtest.c
endtry
call assert_equal('Ignoring long line in tags file', split(execute('messages'), '\n')[-1])
call delete('Xtags')
+ set tags&
let &verbose = old_vbs
endfunc
call assert_equal('call cursor(3, 4)', cmd[0]['cmd'])
call delete('Xtags')
+ set tags&
bwipe
endfunc
\ map(taglist('set_signals'), {i, v -> [v.name, v.cmd]}))
call delete('Xtags')
+ set tags&
endfunc
func Test_taglist_ctags_etags()
\ map(taglist('set_signals'), {i, v -> [v.name, v.cmd]}))
call delete('Xtags')
+ set tags&
endfunc
func Test_tags_too_long()
call assert_equal('Foo', tl[0].name)
call delete('Xtags')
+ set tags&
endfunc
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1546,
/**/
1545,
/**/