diff --git a/modules/apps/neovim/default.nix b/modules/apps/neovim/default.nix index 7586352..957b9d9 100644 --- a/modules/apps/neovim/default.nix +++ b/modules/apps/neovim/default.nix @@ -147,14 +147,10 @@ in { coc = { enable = true; - settings = '' - { - coc.preferences.formatOnSaveFiletypes": [ - "*" - ], - python.formatting.provider": "black" - } - ''; + settings = { + "coc.preferences.formatOnSave" = true; + "python.formatting.provider" = "black"; + }; # Copied the below from coc's README pluginConfig =