proper indentation for concept definitions

This commit is contained in:
Zahary Karadjov 2016-05-19 19:27:38 +03:00
commit 1f62902041

View file

@ -119,7 +119,7 @@ function! GetNimIndent(lnum)
endif
if pline =~ '\(type\|import\|const\|var\)\s*$'
\ || pline =~ '=\s*\(object\|enum\|tuple\|generic\)'
\ || pline =~ '=\s*\(object\|enum\|tuple\|concept\)'
return plindent + &sw
endif