Skip to content

Commit bc543fa

Browse files
mochaaPgithub-actions[bot]
authored andcommitted
chore: Auto generate docs
1 parent 7228c8b commit bc543fa

File tree

5 files changed

+29
-1
lines changed

5 files changed

+29
-1
lines changed

doc/BUILTINS.md

+17
Original file line numberDiff line numberDiff line change
@@ -2518,6 +2518,23 @@ local sources = { null_ls.builtins.formatting.gersemi }
25182518
- Command: `gersemi`
25192519
- Args: `{ "-" }`
25202520

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+
25212538
### [gn_format](http://gn.googlesource.com/gn)
25222539

25232540
Format your GN code!

doc/builtins.json

+5
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,11 @@
729729
"cmake"
730730
]
731731
},
732+
"gleam_format": {
733+
"filetypes": [
734+
"gleam"
735+
]
736+
},
732737
"gn_format": {
733738
"filetypes": [
734739
"gn"

doc/null-ls.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*null-ls.txt* Last change: 2024 March 02
1+
*null-ls.txt* Last change: 2024 March 13
22

33
==============================================================================
44
Table of Contents *null-ls-table-of-contents*

lua/null-ls/builtins/_meta/filetype_map.lua

+3
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ return {
139139
gitrebase = {
140140
code_actions = { "gitrebase" }
141141
},
142+
gleam = {
143+
formatting = { "gleam_format" }
144+
},
142145
glsl = {
143146
diagnostics = { "glslc" }
144147
},

lua/null-ls/builtins/_meta/formatting.lua

+3
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ return {
121121
gersemi = {
122122
filetypes = { "cmake" }
123123
},
124+
gleam_format = {
125+
filetypes = { "gleam" }
126+
},
124127
gn_format = {
125128
filetypes = { "gn" }
126129
},

0 commit comments

Comments
 (0)