Fix inconcistency with <leader>ff in dashboard (#53)

Dashboard's <leader>ff now uses the same command defined in [telescope/mappings.lua](0aef3f630b/lua/cosmic/plugins/telescope/mappings.lua (L14))
This commit is contained in:
Rafael Derolez 2022-03-23 19:04:22 +01:00 committed by GitHub
parent 7c1403438f
commit 5a8378a606
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ g.dashboard_session_directory = vim.fn.stdpath('data') .. '/sessions'
g.dashboard_custom_section = {
find_file = {
description = { icons.file1 .. ' Find File <leader>ff' },
command = 'Telescope find_files',
command = 'lua require("cosmic.plugins.telescope.mappings").project_files()',
},
file_explorer = {
description = { icons.file2 .. ' File Manager <C-n> ' },