File tree 5 files changed +29
-1
lines changed
lua/null-ls/builtins/_meta
5 files changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -2518,6 +2518,23 @@ local sources = { null_ls.builtins.formatting.gersemi }
2518
2518
- Command: ` gersemi `
2519
2519
- Args: ` { "-" } `
2520
2520
2521
+ ### [ gleam_format] ( https://github.com/gleam-lang/gleam/ )
2522
+
2523
+ Default formater for the Gleam programming language
2524
+
2525
+ #### Usage
2526
+
2527
+ ``` lua
2528
+ local sources = { null_ls .builtins .formatting .gleam_format }
2529
+ ```
2530
+
2531
+ #### Defaults
2532
+
2533
+ - Filetypes: ` { "gleam" } `
2534
+ - Method: ` formatting `
2535
+ - Command: ` gleam `
2536
+ - Args: ` { "format", "--stdin" } `
2537
+
2521
2538
### [ gn_format] ( http://gn.googlesource.com/gn )
2522
2539
2523
2540
Format your GN code!
Original file line number Diff line number Diff line change 729
729
" cmake"
730
730
]
731
731
},
732
+ "gleam_format" : {
733
+ "filetypes" : [
734
+ " gleam"
735
+ ]
736
+ },
732
737
"gn_format" : {
733
738
"filetypes" : [
734
739
" gn"
Original file line number Diff line number Diff line change 1
- *null-ls.txt* Last change: 2024 March 02
1
+ *null-ls.txt* Last change: 2024 March 13
2
2
3
3
==============================================================================
4
4
Table of Contents *null-ls-table-of-contents*
Original file line number Diff line number Diff line change @@ -139,6 +139,9 @@ return {
139
139
gitrebase = {
140
140
code_actions = { " gitrebase" }
141
141
},
142
+ gleam = {
143
+ formatting = { " gleam_format" }
144
+ },
142
145
glsl = {
143
146
diagnostics = { " glslc" }
144
147
},
Original file line number Diff line number Diff line change @@ -121,6 +121,9 @@ return {
121
121
gersemi = {
122
122
filetypes = { " cmake" }
123
123
},
124
+ gleam_format = {
125
+ filetypes = { " gleam" }
126
+ },
124
127
gn_format = {
125
128
filetypes = { " gn" }
126
129
},
You can’t perform that action at this time.
0 commit comments