mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-15 11:54:40 +02:00
add number of plugins as footer
This commit is contained in:
parent
6f44077836
commit
d3f7bec7fb
1 changed files with 9 additions and 2 deletions
|
@ -34,12 +34,19 @@ M.config = function()
|
||||||
}
|
}
|
||||||
-- e = {description = {' Marks '}, command = 'Telescope marks'}
|
-- e = {description = {' Marks '}, command = 'Telescope marks'}
|
||||||
}
|
}
|
||||||
|
vim.cmd(
|
||||||
|
"let g:dashboard_session_directory = $HOME..'/.config/nvim/.sessions'")
|
||||||
|
vim.cmd(
|
||||||
|
"let packages = len(globpath('~/.local/share/nvim/site/pack/packer/start', '*', 0, 1))")
|
||||||
|
|
||||||
|
vim.api.nvim_exec([[
|
||||||
|
let g:dashboard_custom_footer = ['LuaJIT loaded '..packages..' plugins']
|
||||||
|
]], false)
|
||||||
|
|
||||||
-- file_browser = {description = {' File Browser'}, command = 'Telescope find_files'},
|
-- file_browser = {description = {' File Browser'}, command = 'Telescope find_files'},
|
||||||
|
|
||||||
|
|
||||||
-- vim.g.dashboard_session_directory = CACHE_PATH..'/session'
|
-- vim.g.dashboard_session_directory = CACHE_PATH..'/session'
|
||||||
vim.g.dashboard_custom_footer = O.dashboard.footer
|
-- vim.g.dashboard_custom_footer = O.dashboard.footer
|
||||||
end
|
end
|
||||||
|
|
||||||
require('lv-utils').define_augroups({
|
require('lv-utils').define_augroups({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue