view runtime/indent/testdir/vim.in @ 20965:59f93c2d2551

Update runtime files Commit: https://github.com/vim/vim/commit/73fef33014dbf21fc59e7e47fb091117868d82fb Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 21 22:12:03 2020 +0200 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sun, 21 Jun 2020 22:15:04 +0200
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