Skip to content

Commit

Permalink
feat(pack): use prettierd instead of prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarshgupta137 authored and mehalter committed Mar 22, 2023
1 parent cf46b1f commit a599091
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions lua/astrocommunity/pack/json/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ This plugin pack does the following:

- Adds `json` and `jsonc` Treesitter parsers
- Adds `jsonls` language server
- Adds `prettierd` formatter
2 changes: 1 addition & 1 deletion lua/astrocommunity/pack/json/json.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ return {
-- Ensure that opts.ensure_installed exists and is a table.
if not opts.ensure_installed then opts.ensure_installed = {} end
-- Add go lsps to opts.ensure_installed using vim.list_extend.
utils.list_insert_unique(opts.ensure_installed, "prettier")
utils.list_insert_unique(opts.ensure_installed, "prettierd")
end,
},
}
2 changes: 1 addition & 1 deletion lua/astrocommunity/pack/markdown/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ This plugin pack does the following:

- Adds `markdown` and `markdown_inline` Treesitter parsers
- Adds `marksman` language server
- Adds `prettier` formatter
- Adds `prettierd` formatter
2 changes: 1 addition & 1 deletion lua/astrocommunity/pack/markdown/markdown.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ return {
opts = function(_, opts)
-- Ensure that opts.ensure_installed exists and is a table
if not opts.ensure_installed then opts.ensure_installed = {} end
utils.list_insert_unique(opts.ensure_installed, "prettier")
utils.list_insert_unique(opts.ensure_installed, "prettierd")
end,
},
}
2 changes: 1 addition & 1 deletion lua/astrocommunity/pack/tailwindcss/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ This plugin pack does the following:

- Adds `css` Treesitter parser
- Adds `tailwindcss` and `cssls` language servers
- Adds `prettier` and `rustywind` formatters
- Adds `prettierd` and `rustywind` formatters
- Adds `roobert/tailwindcss-colorizer-cmp.nvim` to cmp completion sources
2 changes: 1 addition & 1 deletion lua/astrocommunity/pack/tailwindcss/tailwindcss.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ return {
opts = function(_, opts)
-- Ensure that opts.ensure_installed exists and is a table
if not opts.ensure_installed then opts.ensure_installed = {} end
utils.list_insert_unique(opts.ensure_installed, { "prettier", "rustywind" })
utils.list_insert_unique(opts.ensure_installed, { "prettierd", "rustywind" })
end,
},
{
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/pack/typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This plugin pack does the following:

- Adds `typescript`, `javascript`, and `tsx` Treesitter parsers
- Adds `tsserver` language server
- Adds `prettier` formatter
- Adds `prettierd` formatter
- Adds [JSON language support](../json)
- Adds [nvim-dap-vscode-js](https://github.com/mxsdev/nvim-dap-vscode-js) for debugging
- Adds [typescript.nvim](https://github.com/jose-elias-alvarez/typescript.nvim) for language specific tooling
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/pack/typescript/typescript.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ return {
-- Ensure that opts.ensure_installed exists and is a table.
if not opts.ensure_installed then opts.ensure_installed = {} end
-- Add to opts.ensure_installed using vim.list_extend.
utils.list_insert_unique(opts.ensure_installed, "prettier")
utils.list_insert_unique(opts.ensure_installed, "prettierd")
end,
},
{
Expand Down
2 changes: 1 addition & 1 deletion lua/astrocommunity/pack/yaml/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ This plugin pack does the following:

- Adds `yaml` Treesitter parser
- Adds `yamlls` language server
- Adds `prettier` formatter
- Adds `prettierd` formatter
2 changes: 1 addition & 1 deletion lua/astrocommunity/pack/yaml/yaml.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ return {
-- Ensure that opts.ensure_installed exists and is a table.
if not opts.ensure_installed then opts.ensure_installed = {} end
-- Add go lsps to opts.ensure_installed using vim.list_extend.
utils.list_insert_unique(opts.ensure_installed, "prettier")
utils.list_insert_unique(opts.ensure_installed, "prettierd")
end,
},
}

0 comments on commit a599091

Please sign in to comment.