diff --git a/indent/nim.vim b/indent/nim.vim index 4eca11c..bd448fc 100644 --- a/indent/nim.vim +++ b/indent/nim.vim @@ -118,7 +118,7 @@ function! GetNimIndent(lnum) return plindent + &sw endif - if pline =~ '\(type\|import\|const\|var\)\s*$' + if pline =~ '\(type\|import\|const\|var\|let\)\s*$' \ || pline =~ '=\s*\(object\|enum\|tuple\|concept\)' return plindent + &sw endif