mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-21 11:14:42 +02:00
dashboard autoconfig
This commit is contained in:
parent
a9fa0f3d66
commit
c7f2d4a39f
2 changed files with 6 additions and 3 deletions
3
init.lua
3
init.lua
|
@ -8,6 +8,9 @@ require "lv-galaxyline"
|
||||||
require "lv-treesitter"
|
require "lv-treesitter"
|
||||||
require "lv-which-key"
|
require "lv-which-key"
|
||||||
require "lv-neoformat"
|
require "lv-neoformat"
|
||||||
|
if O.plugin.dashboard.active then
|
||||||
|
require("lv-dashboard").config()
|
||||||
|
end
|
||||||
require "lsp"
|
require "lsp"
|
||||||
if O.lang.emmet.active then
|
if O.lang.emmet.active then
|
||||||
require "lsp.emmet-ls"
|
require "lsp.emmet-ls"
|
||||||
|
|
|
@ -130,9 +130,9 @@ return require("packer").startup(function(use)
|
||||||
"ChristianChiarulli/dashboard-nvim",
|
"ChristianChiarulli/dashboard-nvim",
|
||||||
-- event = "BufWinEnter",
|
-- event = "BufWinEnter",
|
||||||
-- cmd = { "Dashboard", "DashboardNewFile", "DashboardJumpMarks" },
|
-- cmd = { "Dashboard", "DashboardNewFile", "DashboardJumpMarks" },
|
||||||
config = function()
|
-- config = function()
|
||||||
require("lv-dashboard").config()
|
-- require("lv-dashboard").config()
|
||||||
end,
|
-- end,
|
||||||
disable = not O.plugin.dashboard.active,
|
disable = not O.plugin.dashboard.active,
|
||||||
-- opt = true,
|
-- opt = true,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue