mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-06-24 21:34:42 +00:00
languages/json: add prettier and prettierd
This commit is contained in:
parent
e6a92b1b5a
commit
cc2c9fef94
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
|
[PHPStan]: https://github.com/phpstan/phpstan
|
||||||
|
|
||||||
- Add [PHPStan] as a formatter for `vim.languages.php`.
|
- Add [PHPStan] as a formatter for `vim.languages.php`.
|
||||||
|
- Add `prettier` and `prettierd` as supported formatters to
|
||||||
|
`vim.languages.json`.
|
||||||
|
|
||||||
<!-- vim: set textwidth=80: -->
|
<!-- vim: set textwidth=80: -->
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,14 @@
|
||||||
command = getExe pkgs.jsonfmt;
|
command = getExe pkgs.jsonfmt;
|
||||||
args = ["-w" "-"];
|
args = ["-w" "-"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
prettier = {
|
||||||
|
command = getExe pkgs.prettier;
|
||||||
|
};
|
||||||
|
|
||||||
|
prettierd = {
|
||||||
|
command = getExe pkgs.prettierd;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
options.vim.languages.json = {
|
options.vim.languages.json = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue