From 17e6fe5150de602b9aad967f35b2e6956ce21ab7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82?= <30625554+n3oney@users.noreply.github.com> Date: Fri, 31 Mar 2023 22:37:24 +0200 Subject: [PATCH] fix: fix cannot coerce null to a string when noice or notify-nvim not enabled --- modules/utility/telescope/config.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/utility/telescope/config.nix b/modules/utility/telescope/config.nix index 135637c..3caae1b 100644 --- a/modules/utility/telescope/config.nix +++ b/modules/utility/telescope/config.nix @@ -101,13 +101,13 @@ in { ${ if config.vim.ui.noice.enable then "telescope.load_extension('noice')" - else null + else "" } ${ if config.vim.notify.nvim-notify.enable then "telescope.load_extension('notify')" - else null + else "" } ''; };