diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml index d8059039..914b73d9 100644 --- a/.config/helix/languages.toml +++ b/.config/helix/languages.toml @@ -70,7 +70,7 @@ name = "markdown" file-types = ["md", "livemd", "markdown", "mdx", "mkd", "mkdn", "mdwn", "mdown", "markdn", "mdtxt", "mdtext", "workbook", { glob = "PULLREQ_EDITMSG" }, { glob = "/tmp/aerc-compose-*.eml" }] # language-servers = ["ltex-ls-plus", "marksman", "scls"] language-servers = ["harper-ls", "marksman", "scls"] -formatter = { command = "dprint", args = ["fmt", "--stdin", "md"] } +formatter = { command = "dprint", args = ["fmt", "--stdin", "md", "-c", "~/.dprint.jsonc"] } auto-format = false diff --git a/.dprint.jsonc b/.dprint.jsonc index ca401d94..a7716dfd 100644 --- a/.dprint.jsonc +++ b/.dprint.jsonc @@ -1,6 +1,7 @@ { "markdown": { - "lineWidth": 72 + "lineWidth": 72, + "textWrap": "always" }, "dockerfile": {}, "markup": {},