From 3fb22a0755da56b9ebc817985afff66db1cd2ce6 Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sat, 10 Jun 2023 18:36:56 -0700 Subject: [PATCH] Fixed broken CoC settings --- modules/apps/neovim/default.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) 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 =