fix: fix cannot coerce null to a string when noice or notify-nvim not enabled

This commit is contained in:
Michał 2023-03-31 22:37:24 +02:00 committed by GitHub
parent 2899981c1e
commit 9c778ae224
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -101,13 +101,13 @@ in {
${ ${
if config.vim.ui.noice.enable if config.vim.ui.noice.enable
then "telescope.load_extension('noice')" then "telescope.load_extension('noice')"
else null else ""
} }
${ ${
if config.vim.notify.nvim-notify.enable if config.vim.notify.nvim-notify.enable
then "telescope.load_extension('notify')" then "telescope.load_extension('notify')"
else null else ""
} }
''; '';
}; };