cpow / neovim-for-newbs

a simple lua neovim configuration for newbs
452 stars 81 forks source link

Trying to get Alpha setup. #4

Closed anupam-basu closed 5 months ago

anupam-basu commented 6 months ago

I tried running the alpha lua seperately and even ran your file from here. I'm not sure what I am missing. Btw love the tutorials, has helped me refine my setup and better understand it.

Guuri11 commented 6 months ago

@anupam-basu would you mine to share your alpha.lua config? or your full nvim conf folder

cschindlbeck commented 5 months ago

@anupam-basu What's your nvim version? for me it did not work with when opening a path/file with neovim such as nvim . but nvim works just fine

anupam-basu commented 5 months ago

Hi everyone; sorry I missed the messages this last couple of weeks @Guuri11 and @cschindlbeck my version is 0.9.5 and @cschindlbeck you are right, it works only on nvim not nvim . that I am used to;

I have nvim-tree as my default file explorer; so that was the one showing up instead of alpha. its good to get it working, here was the file for alpha

return {
  "goolord/alpha-nvim",
  dependencies = {
    "nvim-tree/nvim-web-devicons",
  },

  config = function()
    local alpha = require("alpha")
    local dashboard = require("alpha.themes.startify")

    dashboard.section.header.val = {
      [[                                                                       ]],
      [[                                                                       ]],
      [[                                                                       ]],
      [[                                                                       ]],
      [[                                                                     ]],
      [[       ████ ██████           █████      ██                     ]],
      [[      ███████████             █████                             ]],
      [[      █████████ ███████████████████ ███   ███████████   ]],
      [[     █████████  ███    █████████████ █████ ██████████████   ]],
      [[    █████████ ██████████ █████████ █████ █████ ████ █████   ]],
      [[  ███████████ ███    ███ █████████ █████ █████ ████ █████  ]],
      [[ ██████  █████████████████████ ████ █████ █████ ████ ██████ ]],
      [[                                                                       ]],
      [[                                                                       ]],
      [[                                                                       ]],
    }

    alpha.setup(dashboard.opts)
  end,
}
cschindlbeck commented 5 months ago

Great, I think you can close this issue now