diff options
author | christianchiarulli <[email protected]> | 2021-07-06 23:57:27 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-07-06 23:57:27 -0400 |
commit | c7f2d4a39f5f02004435e273db0cdcb36786f4b3 (patch) | |
tree | 9e83fca969891bee1ac58632ac9c05871a750f3b | |
parent | a9fa0f3d66072cd3db5696f0ee241774441ee1cb (diff) |
dashboard autoconfig
-rw-r--r-- | init.lua | 3 | ||||
-rw-r--r-- | lua/plugins.lua | 6 |
2 files changed, 6 insertions, 3 deletions
@@ -8,6 +8,9 @@ require "lv-galaxyline" require "lv-treesitter" require "lv-which-key" require "lv-neoformat" +if O.plugin.dashboard.active then + require("lv-dashboard").config() +end require "lsp" if O.lang.emmet.active then require "lsp.emmet-ls" diff --git a/lua/plugins.lua b/lua/plugins.lua index d61f0579..c8491790 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -130,9 +130,9 @@ return require("packer").startup(function(use) "ChristianChiarulli/dashboard-nvim", -- event = "BufWinEnter", -- cmd = { "Dashboard", "DashboardNewFile", "DashboardJumpMarks" }, - config = function() - require("lv-dashboard").config() - end, + -- config = function() + -- require("lv-dashboard").config() + -- end, disable = not O.plugin.dashboard.active, -- opt = true, } |