vim: use a proper notification if file_browser is not installed

This commit is contained in:
Fernando Schauenburg 2022-10-13 15:49:28 +02:00
parent 59984e13dd
commit e49fa55b22

View file

@ -75,7 +75,7 @@ local loaded_file_browser, _ = pcall(telescope.load_extension, 'file_browser')
if loaded_file_browser then
vim.keymap.set('n', '<leader>br', '<cmd>Telescope file_browser<cr>')
else
print('Telescope file_browser not installed!')
vim.notify('Telescope file_browser not installed!', vim.log.levels.WARN)
end
local builtin = require 'telescope.builtin'