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 Sep 25, 2024
1 parent 2f15629 commit 68a39ec
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
6 changes: 3 additions & 3 deletions doc/BUILTINS.md
Original file line number Diff line number Diff line change
Expand Up @@ -1935,7 +1935,7 @@ local sources = { null_ls.builtins.formatting.bibclean }

### [biome](https://biomejs.dev)

Formatter, linter, bundler, and more for JavaScript, TypeScript, JSON, HTML, Markdown, and CSS.
Formatter, linter, bundler, and more for JavaScript, TypeScript, JSON, HTML, Markdown, CSS and GraphQL.

#### Usage

Expand All @@ -1945,14 +1945,14 @@ local sources = { null_ls.builtins.formatting.biome }

#### Defaults

- Filetypes: `{ "javascript", "typescript", "javascriptreact", "typescriptreact", "json", "jsonc" }`
- Filetypes: `{ "javascript", "typescript", "javascriptreact", "typescriptreact", "json", "jsonc", "css", "graphql" }`
- Method: `formatting`
- Command: `biome`
- Args: `{ "format", "--stdin-file-path", "$FILENAME" }`

#### Notes

- Currently support only JavaScript, TypeScript and JSON. See status [here](https://biomejs.dev/internals/language-support/)
- Currently support only JavaScript, TypeScript, JSON, CSS and GraphQL. See status [here](https://biomejs.dev/internals/language-support/)

### [black](https://github.com/psf/black)

Expand Down
4 changes: 3 additions & 1 deletion doc/builtins.json
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,9 @@
"javascriptreact",
"typescriptreact",
"json",
"jsonc"
"jsonc",
"css",
"graphql"
]
},
"black": {
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: 2024 September 01
*null-ls.txt* Last change: 2024 September 25

==============================================================================
Table of Contents *null-ls-table-of-contents*
Expand Down
4 changes: 2 additions & 2 deletions lua/null-ls/builtins/_meta/filetype_map.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ return {
},
css = {
diagnostics = { "stylelint" },
formatting = { "prettier", "prettierd", "stylelint" }
formatting = { "biome", "prettier", "prettierd", "stylelint" }
},
cuda = {
formatting = { "clang_format" }
Expand Down Expand Up @@ -158,7 +158,7 @@ return {
formatting = { "gofmt", "gofumpt", "goimports", "goimports_reviser", "golines" }
},
graphql = {
formatting = { "prettier", "prettierd" }
formatting = { "biome", "prettier", "prettierd" }
},
groovy = {
diagnostics = { "npm_groovy_lint" },
Expand Down
2 changes: 1 addition & 1 deletion lua/null-ls/builtins/_meta/formatting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ return {
filetypes = { "bib" }
},
biome = {
filetypes = { "javascript", "typescript", "javascriptreact", "typescriptreact", "json", "jsonc" }
filetypes = { "javascript", "typescript", "javascriptreact", "typescriptreact", "json", "jsonc", "css", "graphql" }
},
black = {
filetypes = { "python" }
Expand Down

0 comments on commit 68a39ec

Please sign in to comment.