nvim: add prettier formating to conform for html and css
This commit is contained in:
parent
d9e21b23bd
commit
c75f696013
2 changed files with 5 additions and 2 deletions
|
@ -106,7 +106,9 @@ cmp.setup {
|
|||
-- Funky plugins
|
||||
require("conform").setup({
|
||||
formatters_by_ft = {
|
||||
python = { "isort", "black" },
|
||||
css = { "prettier", },
|
||||
html = { "prettier", },
|
||||
python = { "black" },
|
||||
},
|
||||
format_on_save = {
|
||||
timeout_ms = 500,
|
||||
|
|
|
@ -88,7 +88,8 @@ in
|
|||
++ (lib.optionals config.stitchyconf.artPkgs.enable artPkgs)
|
||||
++ (lib.optionals (config.stitchyconf.form == "pc") pcPkgs)
|
||||
++ (lib.optionals (config.stitchyconf.form == "handheld") handheldPkgs)
|
||||
++ (lib.optionals (config.stitchyconf.form == "server") serverPkgs);
|
||||
++ (lib.optionals (config.stitchyconf.form == "server") serverPkgs)
|
||||
++ [ pkgs.nodePackages.prettier ];
|
||||
|
||||
# To-do figure out how to section these off
|
||||
programs = {
|
||||
|
|
Loading…
Reference in a new issue