Minor fix to indentation
This commit is contained in:
parent
e61e4906f8
commit
be3bfe6e8d
1 changed files with 3 additions and 3 deletions
|
|
@ -33,15 +33,15 @@ function! NimIndent()
|
|||
return Up()
|
||||
endif
|
||||
|
||||
if prevl =~ '\s*\(import\|type\)'
|
||||
if prevl =~ '\s*\<\(import\|type\)\>'
|
||||
return Up()
|
||||
endif
|
||||
|
||||
if prevl =~ '\s*\(const\|var\|let\)\s*$'
|
||||
if prevl =~ '\s*\<\(const\|var\|let\)\>\s*$'
|
||||
return Up()
|
||||
endif
|
||||
|
||||
if prevl =~ '\(object\|enum\|object\|concept\|tuple\)\s*$'
|
||||
if prevl =~ '\<\(object\|enum\|object\|concept\|tuple\)\>\s*$'
|
||||
return Up()
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue