vim: use a proper notification if file_browser is not installed
This commit is contained in:
parent
59984e13dd
commit
e49fa55b22
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ local loaded_file_browser, _ = pcall(telescope.load_extension, 'file_browser')
|
||||||
if loaded_file_browser then
|
if loaded_file_browser then
|
||||||
vim.keymap.set('n', '<leader>br', '<cmd>Telescope file_browser<cr>')
|
vim.keymap.set('n', '<leader>br', '<cmd>Telescope file_browser<cr>')
|
||||||
else
|
else
|
||||||
print('Telescope file_browser not installed!')
|
vim.notify('Telescope file_browser not installed!', vim.log.levels.WARN)
|
||||||
end
|
end
|
||||||
|
|
||||||
local builtin = require 'telescope.builtin'
|
local builtin = require 'telescope.builtin'
|
||||||
|
|
Loading…
Add table
Reference in a new issue