Commit: runtime(sh): remove invalid commented out line in syntax script

2 views
Skip to first unread message

Christian Brabandt

unread,
Mar 18, 2025, 6:15:11 PM3/18/25
to vim...@googlegroups.com
runtime(sh): remove invalid commented out line in syntax script

Commit: https://github.com/vim/vim/commit/40ab82b974a31ab483abee6357d97d9018d775a7
Author: Christian Brabandt <c...@256bit.org>
Date: Tue Mar 18 23:12:52 2025 +0100

runtime(sh): remove invalid commented out line in syntax script

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/indent/sh.vim b/runtime/indent/sh.vim
index cc433ba5f..a1abd1d0a 100644
--- a/runtime/indent/sh.vim
+++ b/runtime/indent/sh.vim
@@ -307,7 +307,6 @@ function! s:end_block(line)
endfunction

function! s:start_block(line)
-# return a:line =~ '{\s*\(#.*\)\?$'
return a:line =~ '^[^#]*[{(]\s*\(#.*\)\?$'
endfunction

Reply all
Reply to author
Forward
0 new messages