aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform
diff options
context:
space:
mode:
authorTorsten Long <razziel89@users.noreply.github.com>2023-11-04 06:27:26 +0100
committerGitHub <noreply@github.com>2023-11-03 22:27:26 -0700
commit369c7fe690b3fec0ecdd7c17faeebf3f8113a0f5 (patch)
treeb53f8bd63ce67834b2ceef9e803d7a48eff50492 /lua/conform
parent2c1e852fbf723b7d89b14fd28089472d92edeeb9 (diff)
feat: add mdslw markdown formatter (#175)
* feat: add mdslw markdown formatter * lint: remove unused import --------- Co-authored-by: Torsten Long <torsten.s.long@gmail.com> Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
Diffstat (limited to 'lua/conform')
-rw-r--r--lua/conform/formatters/mdslw.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/conform/formatters/mdslw.lua b/lua/conform/formatters/mdslw.lua
new file mode 100644
index 0000000..cab5347
--- /dev/null
+++ b/lua/conform/formatters/mdslw.lua
@@ -0,0 +1,8 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://github.com/razziel89/mdslw",
+ description = "Prepare your markdown for easy diff'ing by adding line breaks after every sentence.",
+ },
+ command = "mdslw",
+}