Skip to content

Commit

Permalink
chore: Auto generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mochaaP authored and github-actions[bot] committed Oct 7, 2023
1 parent 0b7347a commit ae339f4
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 13 deletions.
24 changes: 12 additions & 12 deletions doc/BUILTINS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4861,39 +4861,39 @@ local sources = { null_ls.builtins.formatting.swift_format }
- Command: `swift-format`
- Args: `{}`

### [templ](https://templ.guide/commands-and-tools/cli/#formatting-templ-files)
### [taplo](https://taplo.tamasfe.dev/)

A Go HTML template engine
A versatile, feature-rich TOML toolkit.

#### Usage

```lua
local sources = { null_ls.builtins.formatting.templ }
local sources = { null_ls.builtins.formatting.taplo }
```

#### Defaults

- Filetypes: `{ "templ" }`
- Filetypes: `{ "toml" }`
- Method: `formatting`
- Command: `templ`
- Args: `{ "fmt" }`
- Command: `taplo`
- Args: `{ "format", "-" }`

### [taplo](https://taplo.tamasfe.dev/)
### [templ](https://templ.guide/commands-and-tools/cli/#formatting-templ-files)

A versatile, feature-rich TOML toolkit.
Formats templ template files.

#### Usage

```lua
local sources = { null_ls.builtins.formatting.taplo }
local sources = { null_ls.builtins.formatting.templ }
```

#### Defaults

- Filetypes: `{ "toml" }`
- Filetypes: `{ "templ" }`
- Method: `formatting`
- Command: `taplo`
- Args: `{ "format", "-" }`
- Command: `templ`
- Args: `{ "fmt" }`

### [terrafmt](https://github.com/katbyte/terrafmt)

Expand Down
2 changes: 1 addition & 1 deletion doc/null-ls.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*null-ls.txt* Last change: 2023 October 06
*null-ls.txt* Last change: 2023 October 07

==============================================================================
Table of Contents *null-ls-table-of-contents*
Expand Down
3 changes: 3 additions & 0 deletions lua/null-ls/builtins/_meta/filetype_map.lua
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,9 @@ return {
teal = {
diagnostics = { "teal" }
},
templ = {
formatting = { "templ" }
},
terraform = {
diagnostics = { "terraform_validate", "tfsec" },
formatting = { "terraform_fmt" }
Expand Down
3 changes: 3 additions & 0 deletions lua/null-ls/builtins/_meta/formatting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,9 @@ return {
taplo = {
filetypes = { "toml" }
},
templ = {
filetypes = { "templ" }
},
terrafmt = {
filetypes = { "markdown" }
},
Expand Down

0 comments on commit ae339f4

Please sign in to comment.