Skip to content

Commit 4f476ba

Browse files
feat: support doctoc (nvim-lua#489)
* feat: support doctoc * doc: shorten description --------- Co-authored-by: Steven Arcangeli <[email protected]>
1 parent cd75be8 commit 4f476ba

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

lua/conform/formatters/doctoc.lua

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---@type conform.FileFormatterConfig
2+
return {
3+
meta = {
4+
url = "https://github.com/thlorenz/doctoc",
5+
description = "Generates table of contents for markdown files inside local git repository.",
6+
},
7+
command = "doctoc",
8+
stdin = false,
9+
args = {
10+
"$FILENAME",
11+
},
12+
}

0 commit comments

Comments
 (0)