summaryrefslogtreecommitdiffstats
path: root/indent
diff options
context:
space:
mode:
Diffstat (limited to 'indent')
-rw-r--r--indent/nim.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/indent/nim.vim b/indent/nim.vim
index a6057962..94250b70 100644
--- a/indent/nim.vim
+++ b/indent/nim.vim
@@ -122,7 +122,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