diff --git a/lua/plex/plugins/extras/treesitter/treesj.lua b/lua/plex/plugins/extras/treesitter/treesj.lua index 0cc6162..fd8ba6f 100644 --- a/lua/plex/plugins/extras/treesitter/treesj.lua +++ b/lua/plex/plugins/extras/treesitter/treesj.lua @@ -1,6 +1,8 @@ return { { 'Wansmer/treesj', + enabled = true, + lazy = false, cmd = { 'TSJJoin', 'TSJSplit' }, keys = { { 'sj', 'TSJJoin' }, diff --git a/lua/plex/plugins/extras/ui/dashboard.lua b/lua/plex/plugins/extras/ui/dashboard.lua index 1900ac8..4e61881 100644 --- a/lua/plex/plugins/extras/ui/dashboard.lua +++ b/lua/plex/plugins/extras/ui/dashboard.lua @@ -1,3 +1,20 @@ +local function get_header() + -- see https://github.com/MaximilianLloyd/ascii.nvim + return { + -- The following is a customized version! + [[ ]], + [[  ]], + [[ █ ███████ █████ ██ ]], + [[ ███ █████ █████  ]], + [[ █████ ███ ███████████████████ ███ ███████████ ]], + [[ ██ ██ █ ███ █████████████ █████ ██████████████ ]], + [[ ████ ████ ██████████ █████████ █████ █████ ████ █████ ]], + [[ ██████ ██ ███ ███ █████████ █████ █████ ████ █████ ]], + [[ ████████  ██████████████████ ████ █████ █████ ████ ██████ ]], + [[ ]], + } +end + return { { 'glepnir/dashboard-nvim', @@ -7,11 +24,9 @@ return { theme = 'hyper', config = { - header = { - foo = "bar", - }, + header = get_header(), week_header = { - enable = true, + enable = false, }, shortcut = { { @@ -50,6 +65,17 @@ return { key = 's', }, }, + + project = { + enable = true, + limit = 8, + icon = '', + label = ' Projects', + action = 'Telescope find_files cwd=' + }, + packages = { enable = true}, + mru = { limit = 10, icon = '', label = ' Last Edited'}, + -- footer = { 'footer bar foo' }, }, })