diff options
| author | ruki <[email protected]> | 2026-03-14 22:03:50 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-03-14 22:03:50 +0800 |
| commit | 1c5607aa0da666cd244af2cab5fc7280e30742f1 (patch) | |
| tree | 42a1d0ea70ee0f93a3c3f436ed3a886d6c1d0e80 | |
| parent | 95fa1f158a4044b9851ce6c0f4ff21f3427ce83e (diff) | |
| parent | 4c237e1a39e3d88694a481fa158bbdd8d2b8609b (diff) | |
Merge pull request #7399 from metrapoliten/format_modules
Extend formatting to C++ modules
| -rw-r--r-- | xmake/plugins/format/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/format/main.lua b/xmake/plugins/format/main.lua index f527b6c00..2d0913c20 100644 --- a/xmake/plugins/format/main.lua +++ b/xmake/plugins/format/main.lua @@ -112,7 +112,7 @@ end -- tell if the source batch is a c/c++/objc/objc++/cuda source batch function _source_batch_should_format(sourcebatch) local rulename = sourcebatch.rulename - local matched_rules = {"c.build", "c++.build", "cuda.build", "objc.build", "objc++.build"} + local matched_rules = {"c.build", "c++.build", "c++.build.modules", "cuda.build", "objc.build", "objc++.build"} return table.contains(matched_rules, rulename) end |
