Skip to content
Discussion options

You must be logged in to vote

Default config

-- Run with `nvim -u ./repro.lua`

-- repro.lua

vim.env.LAZY_STDPATH = '.repro'
load(vim.fn.system 'curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua')()

---@module 'snacks'

---@diagnostic disable-next-line: missing-fields
require('lazy.minit').repro {
  spec = {
    {
      'folke/snacks.nvim',
      init = function()
        vim.api.nvim_create_autocmd('User', {
          pattern = 'VeryLazy',
          callback = function()
            Snacks.dashboard()
          end,
        })
      end,
      ---@type snacks.Config
      opts = {
        dashboard = {
          preset = {
            keys = {
              { icon = '󰈺 ', key = 'F', desc = 

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Markuxcu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants