mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-05-21 14:26:32 +00:00
Merge pull request #1608 from poseidon-rises/json/prettier
Some checks are pending
Set up binary cache / cachix (default) (push) Waiting to run
Set up binary cache / cachix (maximal) (push) Waiting to run
Set up binary cache / cachix (nix) (push) Waiting to run
Treewide Checks / Validate flake (push) Waiting to run
Treewide Checks / Check formatting (push) Waiting to run
Treewide Checks / Check source tree for typos (push) Waiting to run
Treewide Checks / Validate documentation builds (push) Waiting to run
Treewide Checks / Validate documentation builds-1 (push) Waiting to run
Treewide Checks / Validate documentation builds-2 (push) Waiting to run
Treewide Checks / Validate documentation builds-3 (push) Waiting to run
Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions
Some checks are pending
Set up binary cache / cachix (default) (push) Waiting to run
Set up binary cache / cachix (maximal) (push) Waiting to run
Set up binary cache / cachix (nix) (push) Waiting to run
Treewide Checks / Validate flake (push) Waiting to run
Treewide Checks / Check formatting (push) Waiting to run
Treewide Checks / Check source tree for typos (push) Waiting to run
Treewide Checks / Validate documentation builds (push) Waiting to run
Treewide Checks / Validate documentation builds-1 (push) Waiting to run
Treewide Checks / Validate documentation builds-2 (push) Waiting to run
Treewide Checks / Validate documentation builds-3 (push) Waiting to run
Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions
languages/json: add `prettier` and `prettierd`
This commit is contained in:
commit
01d49ca23a
2 changed files with 10 additions and 0 deletions
|
|
@ -566,5 +566,7 @@ https://github.com/gorbit99/codewindow.nvim
|
|||
[PHPStan]: https://github.com/phpstan/phpstan
|
||||
|
||||
- Add [PHPStan] as a formatter for `vim.languages.php`.
|
||||
- Add `prettier` and `prettierd` as supported formatters to
|
||||
`vim.languages.json`.
|
||||
|
||||
<!-- vim: set textwidth=80: -->
|
||||
|
|
|
|||
|
|
@ -25,6 +25,14 @@
|
|||
command = getExe pkgs.jsonfmt;
|
||||
args = ["-w" "-"];
|
||||
};
|
||||
|
||||
prettier = {
|
||||
command = getExe pkgs.prettier;
|
||||
};
|
||||
|
||||
prettierd = {
|
||||
command = getExe pkgs.prettierd;
|
||||
};
|
||||
};
|
||||
in {
|
||||
options.vim.languages.json = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue