summaryrefslogtreecommitdiff
path: root/lua/lvim/core/dashboard.lua
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-12-11 20:18:16 +0100
committerkylo252 <[email protected]>2021-12-11 20:18:16 +0100
commitfc756d8151b2f55044b8049807d199fbfb01b3bf (patch)
tree54ff77f66315abdc440802ceb535662a5c4eabf4 /lua/lvim/core/dashboard.lua
parent3a2d62ed2510ca05eb6ea87240a86df82338f5aa (diff)
parentf7d883b6b92d66c222fd0d4e3d398c1f4fcea882 (diff)
Merge remote-tracking branch 'origin/rolling' into release-candidate
Diffstat (limited to 'lua/lvim/core/dashboard.lua')
-rw-r--r--lua/lvim/core/dashboard.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/lua/lvim/core/dashboard.lua b/lua/lvim/core/dashboard.lua
index 11053796..0f62d973 100644
--- a/lua/lvim/core/dashboard.lua
+++ b/lua/lvim/core/dashboard.lua
@@ -58,6 +58,7 @@ M.config = function(config)
footer = { "lunarvim.org" },
}
+ lvim.builtin.which_key.mappings[";"] = { "<cmd>Dashboard<CR>", "Dashboard" }
end
M.setup = function()
@@ -69,8 +70,6 @@ M.setup = function()
vim.g.dashboard_custom_section = lvim.builtin.dashboard.custom_section
- lvim.builtin.which_key.mappings[";"] = { "<cmd>Dashboard<CR>", "Dashboard" }
-
vim.g.dashboard_session_directory = lvim.builtin.dashboard.session_directory
local lvim_site = "lunarvim.org"
@@ -85,7 +84,7 @@ M.setup = function()
if lvim_version then
table.insert(footer, 2, "")
- table.insert(footer, 3, "v" .. lvim_version)
+ table.insert(footer, 2, lvim_version)
end
local text = require "lvim.interface.text"