Lines Matching refs:line
82 …return indent(searchpair(a:pstart, a:pmid, a:pend, 'bWn', 'synIDattr(synID(line("."), col("."), 0)…
88 …return indent(searchpair(a:pstart, a:pmid, a:pend, 'bWn', 'synIDattr(synID(line("."), col("."), 0)…
92 " Find a non-commented line above the current line.
108 let line = getline(v:lnum)
110 " Indent if current line begins with 'end':
111 if line =~ '^\s*end\>'
114 " Indent if current line begins with 'done' for 'do':
115 elseif line =~ '^\s*done\>'
118 " Indent if current line begins with '}' or '>}':
119 elseif line =~ '^\s*\(\|>\)}'
122 " Indent if current line begins with ']', '|]' or '>]':
123 elseif line =~ '^\s*\(\||\|>\)\]'
126 " Indent if current line begins with ')':
127 elseif line =~ '^\s*)'
130 " Indent if current line begins with 'let':
131 elseif line =~ '^\s*let\>'
136 " Indent if current line begins with 'class' or 'type':
137 elseif line =~ '^\s*\(class\|type\)\>'
143 elseif line =~ '^\s*|'
146 …ction\|parser\|private\|with\)\s*$', '', '^\s*|', 'bWn', 'synIDattr(synID(line("."), col("."), 0),…
149 " Indent if current line begins with ';;':
150 elseif line =~ '^\s*;;'
155 " Indent if current line begins with 'in':
156 elseif line =~ '^\s*in\>'
161 " Indent if current line begins with 'else':
162 elseif line =~ '^\s*else\>'
167 " Indent if current line begins with 'then':
168 elseif line =~ '^\s*then\>'
173 " Indent if current line begins with 'and':
174 elseif line =~ '^\s*and\>'
179 " Indent if current line begins with 'with':
180 elseif line =~ '^\s*with\>'
185 " Indent if current line begins with 'exception', 'external', 'include' or
187 elseif line =~ '^\s*\(exception\|external\|include\|open\)\>'
189 call search(line)
193 " Indent if current line begins with 'val':
194 elseif line =~ '^\s*val\>'
199 " Indent if current line begins with 'constraint', 'inherit', 'initializer'
201 elseif line =~ '^\s*\(constraint\|inherit\|initializer\|method\)\>'
239 …let ind = indent(searchpair('(\*', '', '\*)', 'bWn', 'synIDattr(synID(line("."), col("."), 0), "na…
246 elseif lline =~ '^\s*(\*' && line =~ '^\s*\*'
250 " Don't change indentation of this line
251 " for new lines (indent==0) use indentation of previous line