summaryrefslogtreecommitdiffstats
path: root/indent
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-05-07 16:17:30 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2019-05-07 16:17:56 +0200
commitaebef2c2e76b88384b1121c237c965e8cf8b3bcb (patch)
tree98c685630547630cfadffb487a0cf90b7abbb710 /indent
parente8245dbf1746aa59774124de1c77ffc4d8b5b52f (diff)
downloadvim-polyglot-aebef2c2e76b88384b1121c237c965e8cf8b3bcb.tar.gz
vim-polyglot-aebef2c2e76b88384b1121c237c965e8cf8b3bcb.zip
Update
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