nvimdev / dashboard-nvim

vim dashboard
MIT License
2.37k stars 193 forks source link

I can't get Doom theme to look like the one shown in README.md #285

Closed comiluv closed 1 year ago

comiluv commented 1 year ago

Describe the bug I can't get the Doom theme that's shown on the README.md as below screenshot:

2023-02-05 001547

To Reproduce Steps to reproduce the behavior:

  1. Install using lazy.nvim
    {
        "glepnir/dashboard-nvim",
        event = "VimEnter",
        dependencies = "nvim-tree/nvim-web-devicons",
    },
  2. Copy-paste Doom theme example config from README.md in init.lua
    local db=require'dashboard'
    db.setup({
    theme = 'doom',
    config = {
    header = {}, --your header
    center = {
      {
        icon = ' ',
        icon_hl = 'Title',
        desc = 'Find File           ',
        desc_hl = 'String',
        key = 'b',
        keymap = 'SPC f f',
        key_hl = 'Number',
        action = 'lua print(2)'
      },
      {
        icon = ' ',
        desc = 'Find Dotfiles',
        key = 'f',
        keymap = 'SPC f d',
        action = 'lua print(3)'
      },
    },
    footer = {}  --your footer
    }
    })
  3. See error

Expected behavior

2023-02-05 001547

What actually happens

2023-02-06 070115

Notes I also tried removing header table from config table but result looks like below:

2023-02-06 070617
comiluv commented 1 year ago

Copying the first header from https://github.com/glepnir/dashboard-nvim/wiki/Ascii-Header-Text resulted in below screenshot

2023-02-06 072819
glepnir commented 1 year ago

change a terminal and rainbow you need install lolcat