diff --git a/files/config/nvim/lua/plugins/editor.lua b/files/config/nvim/lua/plugins/editor.lua index e237117..eaf6f32 100644 --- a/files/config/nvim/lua/plugins/editor.lua +++ b/files/config/nvim/lua/plugins/editor.lua @@ -22,6 +22,11 @@ return { end, desc = "VCS Files", }, + { + "", + "Telescope projects", + desc = "Projects", + }, }, opts = function(_, opts) local actions = require("telescope.actions") diff --git a/files/config/nvim/lua/plugins/ui.lua b/files/config/nvim/lua/plugins/ui.lua index 6928f1a..7645a72 100644 --- a/files/config/nvim/lua/plugins/ui.lua +++ b/files/config/nvim/lua/plugins/ui.lua @@ -1,25 +1,7 @@ -local logo = [[ -███████ ██ ██ ███████ ██ ███ ███ █████ ███ ██ ██████ ██████ ██████ ██ ██ ██████ -██ ██ ██ ██ ██ ████ ████ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ -███████ ███████ █████ ██ ██ ████ ██ ███████ ██ ██ ██ ██ ███ ██████ ██ ██ ██ ██ ██████ - ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ -███████ ██ ██ ███████ ███████ ██ ██ ██ ██ ██ ████ ██████ ██ ██ ██████ ██████ ██ -]] - return { { "nvimdev/dashboard-nvim", - opts = { - theme = "hyper", - config = { - header = vim.split(string.rep("\n", 8) .. logo, "\n"), - week_header = { enable = false }, - packages = { enable = false }, - project = { enable = false }, - footer = {}, - shortcut = {}, - }, - }, + enabled = false, }, { @@ -126,7 +108,15 @@ return { }, { - "ahmedkhalf/project.nvim", + "DrKJeff16/project.nvim", + config = function(_, opts) + if vim.fn.argv()[1] == nil then + require("project_nvim").setup(opts) -- Workaround for project.nvim not setting up + vim.schedule(function() + vim.cmd("Telescope projects") + end) + end + end, opts = { exclude_dirs = { "~/.cargo/*",