view runtime/indent/testdir/vim.in @ 23268:65fd662b434d v8.2.2180

patch 8.2.2180: Vim9: test for error after error is flaky Commit: https://github.com/vim/vim/commit/6f17a3f0237302b82cc31fb889d9094b51856948 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 21 18:11:24 2020 +0100 patch 8.2.2180: Vim9: test for error after error is flaky Problem: Vim9: test for error after error is flaky. Solution: Wait for job to finish instead of a fixed delay.
author Bram Moolenaar <Bram@vim.org>
date Mon, 21 Dec 2020 18:15:04 +0100
parents 1cd44535be32
children e2e2cc5d0856
line wrap: on
line source

" vim: set ft=vim sw=4 :

" START_INDENT

func Some()
let x = 1
endfunc

let cmd =
\ 'some '
\ 'string'

" END_INDENT

" START_INDENT
" INDENT_EXE let g:vim_indent_cont = 6

let cmd =
\ 'some '
\ 'string'

" END_INDENT

" START_INDENT
" INDENT_EXE unlet g:vim_indent_cont
" INDENT_AT  this-line
func Some()
let f = x " this-line
endfunc
" END_INDENT

" START_INDENT
" INDENT_NEXT  next-line
func Some()
     " next-line
let f = x
endfunc
" END_INDENT

" START_INDENT
" INDENT_PREV  prev-line
func Some()
let f = x
" prev-line
endfunc
" END_INDENT

" START_INDENT
let a =<< END
nothing
END
" END_INDENT

" START_INDENT
" INDENT_AT  this-line
let a=<< trim END
   blah
      blah
      blah this-line
END
" END_INDENT