Mercurial > vim
view runtime/indent/testdir/vim.in @ 18243:463da8586749 v8.1.2116
patch 8.1.2116: no check for out of memory
Commit: https://github.com/vim/vim/commit/1671de3098b7ab663398dd694b314e7f67a93411
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 5 21:35:16 2019 +0200
patch 8.1.2116: no check for out of memory
Problem: No check for out of memory.
Solution: Check for NULL pointer.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Oct 2019 21:45:04 +0200 |
parents | 19b757c6c6a7 |
children | 1cd44535be32 |
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