From 4f5388350be1052f610b830c8fce8fbc17370ec6 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 27 Jun 2021 10:07:29 +0200 Subject: Update --- indent/zig.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indent/zig.vim') diff --git a/indent/zig.vim b/indent/zig.vim index f4e2cda7..fc9f5d6d 100644 --- a/indent/zig.vim +++ b/indent/zig.vim @@ -49,10 +49,10 @@ function! GetZigIndent(lnum) let prevLineNum = prevnonblank(a:lnum-1) let prevLine = getline(prevLineNum) - " for lines that look line + " for lines that look like " }, " }; - " try treat them the same as a } + " try treating them the same as a } if prevLine =~ '\v^\s*},$' if currentLine =~ '\v^\s*};$' || currentLine =~ '\v^\s*}$' return indent(prevLineNum) - 4 -- cgit v1.2.3