mirror of
https://github.com/open-goal/jak-project
synced 2026-08-21 23:00:45 -04:00
formatter: handle top level blank lines and better handle comments (#2702)
This commit is contained in:
@@ -9,6 +9,6 @@ namespace formatter {
|
||||
|
||||
// TODO - populate these more
|
||||
|
||||
const std::unordered_map<std::string, std::vector<std::shared_ptr<FormattingRule>>> opengoal_rules =
|
||||
{{"defun", {std::make_shared<InnerFormattingRule>(1)}}};
|
||||
const std::unordered_map<std::string, std::vector<std::shared_ptr<IndentationRule>>>
|
||||
opengoal_indentation_rules = {{"defun", {std::make_shared<InnerIndentationRule>(1)}}};
|
||||
} // namespace formatter
|
||||
|
||||
Reference in New Issue
Block a user