generalised the indent rule for procs to handle templates, macros
This commit is contained in:
parent
a53642d1e8
commit
32b82b89cf
1 changed files with 1 additions and 1 deletions
|
|
@ -66,8 +66,8 @@ function! GetNimrodIndent(lnum)
|
|||
endif
|
||||
|
||||
if pline =~ ':\s*$'
|
||||
\ || pline =~ '=\s*$'
|
||||
\ || pline =~ '\(type\|import\|const\|var\)\s*$'
|
||||
\ || pline =~ 'proc.*=\s*$'
|
||||
\ || pline =~ '=\s*\(object\|enum\)'
|
||||
return plindent + &sw
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue