Skip to content

Commit

Permalink
Use faster prettierd instead of prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackjacx committed Sep 30, 2024
1 parent 9cbe4bc commit e1d19b7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
20 changes: 10 additions & 10 deletions bootstrap/config_dirs/nvim/lua/user/plugins/conform.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ return {
conform.setup({
formatters_by_ft = {
bash = { "beautysh" },
css = { "prettier" },
graphql = { "prettier" },
html = { "prettier" },
javascript = { "prettier" },
javascriptreact = { "prettier" },
json = { "prettier" },
css = { "prettierd" },
graphql = { "prettierd" },
html = { "prettierd" },
javascript = { "prettierd" },
javascriptreact = { "prettierd" },
json = { "prettierd" },
lua = { "stylua" },
markdown = { "prettier" },
markdown = { "prettierd" },
python = { "isort", "black" },
sh = { "beautysh" },
swift = { "swiftformat" },
typescript = { "prettier" },
typescriptreact = { "prettier" },
yaml = { "prettier", "yamlfmt" },
typescript = { "prettierd" },
typescriptreact = { "prettierd" },
yaml = { "prettierd", "yamlfmt" },
zsh = { "shfmt" },
},
-- formatters = {
Expand Down
1 change: 1 addition & 0 deletions bootstrap/config_dirs/nvim/lua/user/plugins/lsp/mason.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ return {
"jsonlint", -- json linter
-- "luacheck", -- lua linter 🚨 currently issues during install
"prettier", -- formatter for angular, css, flow, graphql, html, json, jsx, javascript, less, markdown, scss, typescript, vue, yaml
"prettierd", -- formatter for angular, css, flow, graphql, html, json, jsx, javascript, less, markdown, scss, typescript, vue, yaml
"proselint", -- formatter for prose text
"pylint", -- python linter
"shellcheck", -- bash linter
Expand Down

0 comments on commit e1d19b7

Please sign in to comment.