From 982683f1ec729dec7cde7dcdcf28008ebc135de5 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Sat, 16 Mar 2024 18:24:39 +0100 Subject: [PATCH] Move setting to correct function. --- home-manager/modules/nvim.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home-manager/modules/nvim.nix b/home-manager/modules/nvim.nix index 9ee4ebf..bffc9a6 100644 --- a/home-manager/modules/nvim.nix +++ b/home-manager/modules/nvim.nix @@ -14,7 +14,7 @@ options = { silent = true; }; } { - action = "lua require('conform').format({ bufnr = buf })"; + action = "lua require('conform').format({ bufnr = buf, lsp_fallback = true })"; key = "f"; options = { silent = true; }; } @@ -57,7 +57,7 @@ ''; extraConfigLuaPost = '' - vim.notify = require("mini.notify").make_notify({lsp_fallback = true}) + vim.notify = require("mini.notify").make_notify() ''; extraPackages = with pkgs; [ stylua isort black nixfmt jq shfmt ]; plugins = {