Minor fix to indentation

This commit is contained in:
baabelfish 2016-02-08 01:00:04 +02:00
commit be3bfe6e8d

View file

@ -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