Skip to content

Commit cc0a3c4

Browse files
mochaaPgithub-actions[bot]
authored andcommitted
chore: Auto generate docs
1 parent b1e74bd commit cc0a3c4

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

doc/BUILTINS.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -3871,7 +3871,7 @@ local sources = { null_ls.builtins.formatting.typstfmt }
38713871

38723872
### [typstyle](https://github.com/Enter-tainer/typstyle/)
38733873

3874-
Formatter for typst
3874+
Beautiful and reliable typst code formatter
38753875

38763876
#### Usage
38773877

@@ -3884,7 +3884,6 @@ local sources = { null_ls.builtins.formatting.typstyle }
38843884
- Filetypes: `{ "typ", "typst" }`
38853885
- Method: `formatting`
38863886
- Command: `typstyle`
3887-
- Args: `{}`
38883887

38893888
### [uncrustify](https://github.com/uncrustify/uncrustify)
38903889

doc/builtins.json

+6
Original file line numberDiff line numberDiff line change
@@ -1167,6 +1167,12 @@
11671167
"typst"
11681168
]
11691169
},
1170+
"typstyle": {
1171+
"filetypes": [
1172+
"typ",
1173+
"typst"
1174+
]
1175+
},
11701176
"uncrustify": {
11711177
"filetypes": [
11721178
"c",

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 June 04
1+
*null-ls.txt* Last change: 2024 June 14
22

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

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ return {
426426
formatting = { "textlint" }
427427
},
428428
typ = {
429-
formatting = { "typstfmt" }
429+
formatting = { "typstfmt", "typstyle" }
430430
},
431431
typescript = {
432432
code_actions = { "refactoring" },
@@ -438,7 +438,7 @@ return {
438438
formatting = { "biome", "prettier", "prettierd", "rustywind" }
439439
},
440440
typst = {
441-
formatting = { "typstfmt" }
441+
formatting = { "typstfmt", "typstyle" }
442442
},
443443
verilog = {
444444
diagnostics = { "verilator" },

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

+3
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,9 @@ return {
346346
typstfmt = {
347347
filetypes = { "typ", "typst" }
348348
},
349+
typstyle = {
350+
filetypes = { "typ", "typst" }
351+
},
349352
uncrustify = {
350353
filetypes = { "c", "cpp", "cs", "java" }
351354
},

0 commit comments

Comments
 (0)