From 1f62902041c81a7eb13a821d6d520257db3d4397 Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Thu, 19 May 2016 19:27:38 +0300 Subject: [PATCH] proper indentation for concept definitions --- indent/nim.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indent/nim.vim b/indent/nim.vim index 06d6150..4eca11c 100644 --- a/indent/nim.vim +++ b/indent/nim.vim @@ -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