view runtime/indent/testdir/vim.in @ 19695:1697a25328fd v8.2.0404

patch 8.2.0404: writefile() error does not give a hint Commit: https://github.com/vim/vim/commit/18a2b87ca27c378a555b20f14a284d2ce3511427 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 19 13:08:45 2020 +0100 patch 8.2.0404: writefile() error does not give a hint Problem: Writefile() error does not give a hint. Solution: Add remark about first argument.
author Bram Moolenaar <Bram@vim.org>
date Thu, 19 Mar 2020 13:15:03 +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