runtime(sh): remove invalid commented out line in syntax script
Commit:
https://github.com/vim/vim/commit/40ab82b974a31ab483abee6357d97d9018d775a7
Author: Christian Brabandt <[email protected]>
Date: Tue Mar 18 23:12:52 2025 +0100
runtime(sh): remove invalid commented out line in syntax script
Signed-off-by: Christian Brabandt <[email protected]>
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
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1tufDD-001Kp4-4I%40256bit.org.