fish_indent to stop stripping quotes from keywords

This commit is contained in:
ridiculousfish 2019-05-19 20:56:28 -07:00
parent 159d6d669a
commit 8e640cdcc5

View File

@ -245,11 +245,7 @@ void prettifier_t::prettify_node(const parse_node_tree_t &tree, node_offset_t no
last_was_semicolon = false;
}
if (node.keyword != parse_keyword_none) {
append_whitespace(node_indent);
output.append(keyword_description(node.keyword));
has_new_line = false;
} else if (node.has_source()) {
if (node.has_source()) {
// Some type representing a particular token.
if (prev_node_type != parse_token_type_redirection) {
append_whitespace(node_indent);