comparison runtime/indent/config.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 1218c5353e2b
children 9c221ad9634a
comparison
equal deleted inserted replaced
25772:55753c17b73d 25773:11b656e74444
60 " indent to its position. TODO: same as above 60 " indent to its position. TODO: same as above
61 if line =~ '\[[^]]*$' 61 if line =~ '\[[^]]*$'
62 let ind = s:GetOffsetOf(line, '\[') 62 let ind = s:GetOffsetOf(line, '\[')
63 endif 63 endif
64 64
65 " if previous line had an unmatched closing parantheses, 65 " if previous line had an unmatched closing parentheses,
66 " indent to the matching opening parantheses 66 " indent to the matching opening parentheses
67 if line =~ '[^(]\+\\\@<!)$' 67 if line =~ '[^(]\+\\\@<!)$'
68 call search(')', 'bW') 68 call search(')', 'bW')
69 let lnum = searchpair('\\\@<!(', '', ')', 'bWn') 69 let lnum = searchpair('\\\@<!(', '', ')', 'bWn')
70 let ind = indent(lnum) 70 let ind = indent(lnum)
71 endif 71 endif