Explorar o código

Add dashboard entry to search nvim config files (#551)

tafryn %!s(int64=4) %!d(string=hai) anos
pai
achega
02865aba7b
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      lua/lv-dashboard/init.lua

+ 4 - 0
lua/lv-dashboard/init.lua

@@ -45,6 +45,10 @@ M.config = function()
         e = {
             description = {'  Settings           '},
             command = ':e ' .. CONFIG_PATH .. '/lv-config.lua'
+        },
+        f = {
+            description = {'  Neovim Config Files'},
+            command = 'lua require(\'telescope.builtin\').find_files({search_dirs = {"~/.config/nvim"}})'
         }
         -- e = {description = {'  Marks              '}, command = 'Telescope marks'}
     }