Skip to content

Commit

Permalink
Merge pull request #2 from neovim-stuff/update-docformatter
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentS authored Sep 15, 2023
2 parents e506083 + 314326b commit 6ec68cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/null-ls/builtins/formatting/docformatter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ return h.make_builtin({
filetypes = { "python" },
generator_opts = {
command = "docformatter",
args = { "-" },
-- black compatibility added by default because 74 cols is very restrictive
-- in modern times
args = { "--black", "-" },
to_stdin = true,
},
factory = h.formatter_factory,
Expand Down

0 comments on commit 6ec68cf

Please sign in to comment.