Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | enhance fish_indent to normalize keywords | Kurtis Rader | 2016-04-10 |
| | | | | | | | | | | | Fish keywords can be quoted and split across lines. Prior to this change `fish_indent` would retain such odd, obfuscated, formatting. This change results in all keywords being converted to their canonical form. This required fixing a bug: the keyword member of parse_node_t wasn't being populated. This hadn't been noticed prior to now because it wasn't used. Fixes #2921 | ||
* | change how redirections are formatted | Kurtis Rader | 2016-04-05 |
| | | | | | | | | Modify `fish_indent` to emit redirections without a space before the target of the redirection; e.g., "2>&1" rather than "2>& 1" as the former is clearer to humans. Fixes #2899 | ||
* | Improve indentation of blocks inside if/while headers | ridiculousfish | 2014-12-23 |
| | | | | Fixes #1665 | ||
* | Implement tests for fish_indent | ridiculousfish | 2014-12-23 |