diff --git a/lua/lv-dashboard/init.lua b/lua/lv-dashboard/init.lua index c6ed0b5d..4bd706f3 100644 --- a/lua/lv-dashboard/init.lua +++ b/lua/lv-dashboard/init.lua @@ -17,17 +17,7 @@ -- -- } -vim.g.dashboard_custom_header = { - -' _..._ ', -' .\' (_`. _ __ ___ ', -' : . : | | _ _ _ __ __ _ _ _\\ \\ / (_)_ __ ___ ', -' :) () : | | | | | | \'_ \\ / _` | \'__\\ \\ / /| | \'_ ` _ \\ ', -' `. . .\' | |__| |_| | | | | (_| | | \\ V / | | | | | | |', -' `-...-\' |_____\\__,_|_| |_|\\__,_|_| \\_/ |_|_| |_| |_|', - -} - +vim.g.dashboard_custom_header = O.dashboard.custom_header vim.g.dashboard_default_executive = 'telescope' @@ -52,4 +42,4 @@ vim.g.dashboard_custom_section = { -- find_history = 'SPC f h', -- vim.g.dashboard_session_directory = '~/.cache/nvim/session' -vim.g.dashboard_custom_footer = {'chrisatmachine.com'} +vim.g.dashboard_custom_footer = O.dashboard.footer diff --git a/lua/lv-globals.lua b/lua/lv-globals.lua index 906fb5d0..c284d826 100644 --- a/lua/lv-globals.lua +++ b/lua/lv-globals.lua @@ -61,9 +61,21 @@ O = { ruby = { diagnostics = {virtualtext = {spacing = 0, prefix = ""}, signs = true, underline = true}, filetypes = {'rb', 'erb', 'rakefile'} - } + }, -- css = {formatter = '', autoformat = false, virtual_text = true}, -- json = {formatter = '', autoformat = false, virtual_text = true} + + dashboard = { + custom_header = { +' _..._ ', +' .\' (_`. _ __ ___ ', +' : . : | | _ _ _ __ __ _ _ _\\ \\ / (_)_ __ ___ ', +' :) () : | | | | | | \'_ \\ / _` | \'__\\ \\ / /| | \'_ ` _ \\ ', +' `. . .\' | |__| |_| | | | | (_| | | \\ V / | | | | | | |', +' `-...-\' |_____\\__,_|_| |_|\\__,_|_| \\_/ |_|_| |_| |_|', + }, + footer= {'chrisatmachine.com'} + } } DATA_PATH = vim.fn.stdpath('data') diff --git a/lv-settings.lua b/lv-settings.lua index e7be8295..21599146 100644 --- a/lv-settings.lua +++ b/lv-settings.lua @@ -13,6 +13,10 @@ O.colorscheme = 'lunar' O.auto_close_tree = 0 O.wrap_lines = false +-- dashboard +-- O.dashboard.custom_header = {""} +-- O.dashboard.footer = {""} + -- if you don't want all the parsers change this to a table of the ones you want O.treesitter.ensure_installed = "all" O.treesitter.ignore_install = {"haskell"}