diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2021-06-27 10:07:29 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2021-06-27 10:07:29 +0200 |
commit | 4f5388350be1052f610b830c8fce8fbc17370ec6 (patch) | |
tree | 425cb8ee70c123233055a61d56d73e2eb97536db /indent/zig.vim | |
parent | 4899585281beab51e5dff1d9ae4d3159244a8275 (diff) | |
download | vim-polyglot-4f5388350be1052f610b830c8fce8fbc17370ec6.tar.gz vim-polyglot-4f5388350be1052f610b830c8fce8fbc17370ec6.zip |
Update
Diffstat (limited to 'indent/zig.vim')
-rw-r--r-- | indent/zig.vim | 4 |
1 files changed, 2 insertions, 2 deletions
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 |