diff options
| author | Artyom Gavrilov <[email protected]> | 2026-03-13 19:59:39 +0300 |
|---|---|---|
| committer | Artyom Gavrilov <[email protected]> | 2026-03-13 19:59:39 +0300 |
| commit | 4c237e1a39e3d88694a481fa158bbdd8d2b8609b (patch) | |
| tree | 42a1d0ea70ee0f93a3c3f436ed3a886d6c1d0e80 | |
| parent | 95fa1f158a4044b9851ce6c0f4ff21f3427ce83e (diff) | |
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 |
