File tree Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ functions.
221
221
<!-- `> bash ./supported-programs.sh` -->
222
222
223
223
<!-- BEGIN mdsh -->
224
- ` treefmt-nix ` currently supports 109 formatters:
224
+ ` treefmt-nix ` currently supports 110 formatters:
225
225
226
226
* [ actionlint] ( programs/actionlint.nix )
227
227
* [ alejandra] ( programs/alejandra.nix )
@@ -303,6 +303,7 @@ functions.
303
303
* [ prettier] ( programs/prettier.nix )
304
304
* [ protolint] ( programs/protolint.nix )
305
305
* [ purs-tidy] ( programs/purs-tidy.nix )
306
+ * [ qmlformat] ( programs/qmlformat.nix )
306
307
* [ rstfmt] ( programs/rstfmt.nix )
307
308
* [ rubocop] ( programs/rubocop.nix )
308
309
* [ ruff-check] ( programs/ruff-check.nix )
Original file line number Diff line number Diff line change
1
+ [formatter .qmlformat ]
2
+ command = " qmlformat"
3
+ excludes = []
4
+ includes = [" *.qml" ]
5
+ options = []
Original file line number Diff line number Diff line change
1
+ {
2
+ mkFormatterModule ,
3
+ ...
4
+ } :
5
+ {
6
+ meta . maintainers = [
7
+ "fvrings"
8
+ ] ;
9
+
10
+ imports = [
11
+ ( mkFormatterModule {
12
+ name = "qmlformat" ;
13
+ mainProgram = "qmlformat" ;
14
+ package = [
15
+ "kdePackages"
16
+ "qtdeclarative"
17
+ ] ;
18
+ args = [
19
+ "-i"
20
+ ] ;
21
+ includes = [
22
+ "*.qml"
23
+ ] ;
24
+ } )
25
+ ] ;
26
+
27
+ }
You can’t perform that action at this time.
0 commit comments