comparison runtime/indent/ada.vim @ 25773:11b656e74444

Update runtime files Commit: https://github.com/vim/vim/commit/6c391a74fe90190796ca0b0c010112948a6e75d7 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 9 21:55:11 2021 +0200 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Thu, 09 Sep 2021 22:00:10 +0200
parents 63b0b7b79b25
children 6dd88e45d47d
comparison
equal deleted inserted replaced
25772:55753c17b73d 25773:11b656e74444
217 endif 217 endif
218 elseif line =~ '^\s*\(case\|exception\)\>' 218 elseif line =~ '^\s*\(case\|exception\)\>'
219 " Move indent in twice (next 'when' will move back) 219 " Move indent in twice (next 'when' will move back)
220 let ind = ind + 2 * shiftwidth() 220 let ind = ind + 2 * shiftwidth()
221 elseif line =~ '^\s*end\s*record\>' 221 elseif line =~ '^\s*end\s*record\>'
222 " Move indent back to tallying 'type' preceeding the 'record'. 222 " Move indent back to tallying 'type' preceding the 'record'.
223 " Allow indent to be equal to 'end record's. 223 " Allow indent to be equal to 'end record's.
224 let ind = s:MainBlockIndent( ind+shiftwidth(), lnum, 'type\>', '' ) 224 let ind = s:MainBlockIndent( ind+shiftwidth(), lnum, 'type\>', '' )
225 elseif line =~ '\(^\s*new\>.*\)\@<!)\s*[;,]\s*$' 225 elseif line =~ '\(^\s*new\>.*\)\@<!)\s*[;,]\s*$'
226 " Revert to indent of line that started this parenthesis pair 226 " Revert to indent of line that started this parenthesis pair
227 exe lnum 227 exe lnum