We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6df5360 commit 1bc3610Copy full SHA for 1bc3610
1 file changed
runtime/indent/rust.vim
@@ -3,7 +3,7 @@
3
" Author: Chris Morgan <[email protected]>
4
" Last Change: 2023-09-11
5
" 2024 Jul 04 by Vim Project: use shiftwidth() instead of hard-coding shifted values #15138
6
-" 2025 Dec 28 by Vim Project: clean up, handle opening empty line correctly #18974
+" 2025 Dec 29 by Vim Project: clean up
7
8
" For bugs, patches and license go to https://github.com/rust-lang/rust.vim
9
" Note: upstream seems umaintained: https://github.com/rust-lang/rust.vim/issues/502
@@ -232,9 +232,6 @@ function GetRustIndent(lnum)
232
endif
233
234
" Fall back on cindent, which does it mostly right
235
- if empty(trim(line))
236
- return cindent(prevlinenum)
237
- endif
238
return cindent(a:lnum)
239
endfunction
240
0 commit comments