Lines Matching refs:opening
504 " If the previous line ended with a block opening, add a level of indent.
549 " If the previous line contained unclosed opening brackets and we are still
556 let [opening, closing] = s:ExtraBrackets(info.plnum)
558 if opening.pos != -1
561 elseif opening.type == '(' && searchpair('(', '', ')', 'bW', s:skip_expr) > 0
568 let nonspace = matchend(info.pline, '\S', opening.pos + 1) - 1
860 " Check if line 'lnum' has more opening brackets than closing ones.
862 let opening = {'parentheses': [], 'braces': [], 'brackets': []}
868 " Save any encountered opening brackets, and remove them once a matching
874 call add(opening.parentheses, {'type': '(', 'pos': pos})
876 if empty(opening.parentheses)
879 let opening.parentheses = opening.parentheses[0:-2]
882 call add(opening.braces, {'type': '{', 'pos': pos})
884 if empty(opening.braces)
887 let opening.braces = opening.braces[0:-2]
890 call add(opening.brackets, {'type': '[', 'pos': pos})
892 if empty(opening.brackets)
895 let opening.brackets = opening.brackets[0:-2]
904 " both opening and closing cases
908 for opening in opening.parentheses + opening.braces + opening.brackets
909 if opening.pos > rightmost_opening.pos
910 let rightmost_opening = opening