mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
astyle: update to 3.4.8 (#9530)
This commit is contained in:
22
dev-util/astyle/patches/astyle-3.4.8.patchset
Normal file
22
dev-util/astyle/patches/astyle-3.4.8.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
From 5b291ee2b419412d765884b53c82dae50587dd84 Mon Sep 17 00:00:00 2001
|
||||
From: Chris Roberts <cpr420@gmail.com>
|
||||
Date: Tue, 26 Sep 2023 12:41:04 -0600
|
||||
Subject: zsh completion fix
|
||||
|
||||
|
||||
diff --git a/sh-completion/astyle.zsh b/sh-completion/astyle.zsh
|
||||
index b54e86d..20ad9d4 100644
|
||||
--- a/sh-completion/astyle.zsh
|
||||
+++ b/sh-completion/astyle.zsh
|
||||
@@ -54,7 +54,7 @@ _astyle() {
|
||||
"--remove-comment-prefix[Remove the leading '*' prefix on multi-line comments and indent the comment text one indent]"
|
||||
"--max-code-length[Break the line if it exceeds more than # characters]: :_files"
|
||||
"--break-after-logical[After break line using --max-code-length, place logical conditional last on the previous line]"
|
||||
- "mode[Set input syntax mode]: :(c java cs objc js)"
|
||||
+ "--mode[Set input syntax mode]: :(c java cs objc js)"
|
||||
"--pad-method-prefix[Insert space padding after the '-' or '+' Objective-C method prefix]"
|
||||
"--unpad-method-prefix[Remove all space padding after the '-' or '+' Objective-C method prefix]"
|
||||
"--pad-return-type[Insert space padding after the Objective-C return type]"
|
||||
--
|
||||
2.39.2
|
||||
|
||||
Reference in New Issue
Block a user