-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
styling more commands (and basic parameter patterns) #7
Comments
First of all, patches are of course always welcome. :-) That said, I'm not a big fan of this, and I'm having a hard time explaining The language grammar from the shell script bundle does not highlight options In the case of commands, I don't even see that much of a benefit in The situation for options is even worse because every command is responsible I prefer my grammars to be less helpful if that saves them from being actively
Sadly, there is not. Man pages are entirely free form and composed of stylistic And that is the reason why there are these huge packages of scripts to support I hope I could convey why I'm reluctant to jump on these additions. And maybe |
hi Mkhl, How about highlighting \b([+-]+)([^ ]*)\b and see how people like it? |
Fine with me. I know which of my scripts it'll "break" on and how to disable it. :-) |
ok: I'll push something up along those lines. |
And a year later... |
@tbates Your last comment from last year suggested that you'd open a pull request containing such a change, I don't see any open pull requests. |
This would go a long way in long list of commands, nested commands and pipes. Unfortunately I'm a shellnoob but wouldn't the first word after certain characters ( Surely it won't catch all commands, but IMHO some is better than none |
This should help a bit better-shellscript-syntax |
shellscript.tmbundle currently doesn't highlight parameters and parameter value pairs, and has a minimal set of commands (like ls)
It would be great if shell could style more commands and their parameters.
One suggestion would be the commands that are included with lion: svn, git etc. with their parameters properly highlighted.
Are there automatable way to discover this/integrate with man etc?
The text was updated successfully, but these errors were encountered: