feat(nvim): add smoothscrolling to the options if nvim nightly is present
This commit is contained in:
1 parent
8337a7847c
commit
34979e6b29
44 files changed
+243
-126
No files matched your search
@@ -0,0 +1,24 @@
|
||||
return {
|
||||
"nvimdev/dashboard-nvim",
|
||||
opts = function(_, opts)
|
||||
vim.api.nvim_create_autocmd("TabNewEntered", { command = "Dashboard" })
|
||||
|
||||
local logo = [[
|
||||
|
||||
████ ██████ █████ ██
|
||||
███████████ █████
|
||||
█████████ ███████████████████ ███ ███████████
|
||||
█████████ ███ █████████████ █████ ██████████████
|
||||
█████████ ██████████ █████████ █████ █████ ████ █████
|
||||
███████████ ███ ███ █████████ █████ █████ ████ █████
|
||||
██████ █████████████████████ ████ █████ █████ ████ ██████
|
||||
]]
|
||||
|
||||
logo = string.rep("\n", 8) .. logo .. "\n\n"
|
||||
opts.config.header = vim.split(logo, "\n")
|
||||
return opts
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>fd", "<cmd>Dash<cr>", desc = "Dashboard" },
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user