Skip to content

Commit

Permalink
feat: add python formatting support
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwjackson committed Oct 15, 2024
1 parent c5fd08a commit 44661c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions plugins/conform.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ return {
yaml = { "yq" },
-- markdown = { "prettierd" },
just = { "just" },
python = { "isort", "black" },
-- # TODO: Add tailwind
-- rustywind
},
Expand Down
12 changes: 7 additions & 5 deletions plugins/conform.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
{pkgs}: {
packages = [
pkgs.alejandra
pkgs.prettierd
pkgs.stylua
pkgs.black
pkgs.elmPackages.elm-format
pkgs.eslint_d
pkgs.nodejs
pkgs.gawk
pkgs.isort
pkgs.jq
pkgs.just
pkgs.yq-go
pkgs.nodejs
pkgs.prettierd
pkgs.shfmt
pkgs.elmPackages.elm-format
pkgs.stylua
pkgs.yq-go
];

environment = {
Expand Down

0 comments on commit 44661c1

Please sign in to comment.