Lines Matching refs:indent

1 " Vim indent file
9 " 2005 May 09 - Added an option to not indent OCaml-indents specially (MM)
15 " Only load this indent file when no other was loaded.
67 let old = indent(a:lnum)
69 let old = indent(llet)
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)…
95 " At the start of the file use zero indent.
100 let ind = indent(lnum)
146 …return indent(searchpair('^\s*\(match\|type\)\>\|\<\(function\|parser\|private\|with\)\s*$', '', '…
190 return indent(search('^\s*\(\(exception\|external\|include\|open\|type\)\>\|val\>.*:\)', 'bW'))
196 …return indent(search('^\s*\(\(exception\|include\|initializer\|method\|open\|type\|val\)\>\|extern…
203 return indent(search('\<\(object\|object\s*(.*)\)\s*$', 'bW')) + shiftwidth()
212 " Back to normal indent after lines ending with ';;':
216 " Back to normal indent after lines ending with 'end':
220 " Back to normal indent after lines ending with 'in':
224 " Back to normal indent after lines ending with 'done':
228 " Back to normal indent after lines ending with '}' or '>}':
232 " Back to normal indent after lines ending with ']', '|]' or '>]':
236 " Back to normal indent after comments:
239 …let ind = indent(searchpair('(\*', '', '\*)', 'bWn', 'synIDattr(synID(line("."), col("."), 0), "na…
241 " Back to normal indent after lines ending with ')':
251 " for new lines (indent==0) use indentation of previous line
260 let i = indent(v:lnum)