From 88f5e708a739fb26be6364ab2fabadf9fffb8d7b Mon Sep 17 00:00:00 2001 From: silvetie Date: Sat, 2 Mar 2019 22:53:41 +0900 Subject: [PATCH] Added the "let" keyword --- indent/nim.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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