Lines Matching refs:l
36 let l:lnum = v:lnum - 1
39 if l:lnum == 0
43 let l:ind = indent(l:lnum)
44 let l:lline = getline(l:lnum)
45 let l:line = getline(v:lnum)
48 if l:line =~? '^\s*}'
52 elseif l:line =~# '^\s*else\>'
53 if l:lline !~# '^\s*\(if\|then\)\>'
58 elseif l:line =~# '^\s*then\>'
59 if l:lline !~# '^\s*\(if\|else\)\>'
64 elseif l:line =~# '->' && l:line !~# ':' && l:line !~# '\\'
68 elseif l:lline =~# '^\s*--'
69 return l:ind
72 elseif l:line =~# '^\s*-}'
76 elseif l:lline =~# '\<let\>.*\s=$'
77 return l:ind + 4 + &shiftwidth
80 elseif l:line =~# '^\s*in\>'
84 elseif l:lline =~# '\<let\>'
85 return l:ind + 4
88 elseif l:lline =~# '^\s*in\>'
89 return l:ind
94 if l:lline =~# '\(|\|=\|->\|<-\|(\|\[\|{\|\<\(of\|else\|if\|then\)\)\s*$'
95 let l:ind = l:ind + &shiftwidth
98 elseif l:lline =~# '^\s*type' && l:line =~# '^\s*='
99 let l:ind = l:ind + &shiftwidth
102 elseif l:lline =~# '-}\s*$'
104 …let l:ind = indent(searchpair('{-', '', '-}', 'bWn', 'synIDattr(synID(line("."), col("."), 0), "na…
107 …elseif l:line =~# '^\s*\(!\|&\|(\|`\|+\||\|{\|[\|,\)=' && l:lline !~# '^\s*\(!\|&\|(\|`\|+\||\|{\|…
108 let l:ind = l:ind + &shiftwidth
110 elseif l:lline ==# '' && getline(l:lnum - 1) !=# ''
111 let l:ind = indent(search('^\s*\S+', 'bWn'))
115 return l:ind