dashboard-nvim icon indicating copy to clipboard operation
dashboard-nvim copied to clipboard

Could I use PlugInstall in init.vim for this plugin?

Open fathurwithyou opened this issue 1 year ago • 4 comments

I havent setup the lazy yet, could I use only init.vim?

fathurwithyou avatar Feb 22 '24 10:02 fathurwithyou

yes, by simply doing:

Plug 'nvimdev/dashboard-nvim'

then:

lua << EOF
require'dashboard'.setup{}
EOF

after that, close vim and reopen it and run :PlugInstall.

LelouchFR avatar Mar 18 '24 08:03 LelouchFR

it would be nice if someone closed this issue since it's probably solved

ingenarel avatar Jul 09 '24 22:07 ingenarel

I keep getting an error. can someone explain like im 5 how to get dashboard to work with the hyper theme using nvim plug?

Error detected while processing /home/matthewjohnson/.config/nvim/init.vim: line 61: E5108: Error executing lua [string ":lua"]:1: module 'dashboard' not found: no field package.preload['dashboard'] no file './dashboard.lua' no file '/usr/share/luajit-2.1/dashboard.lua' no file '/usr/local/share/lua/5.1/dashboard.lua' no file '/usr/local/share/lua/5.1/dashboard/init.lua' no file '/usr/share/lua/5.1/dashboard.lua' no file '/usr/share/lua/5.1/dashboard/init.lua' no file './dashboard.so' no file '/usr/local/lib/lua/5.1/dashboard.so' no file '/usr/lib64/lua/5.1/dashboard.so' no file '/usr/local/lib/lua/5.1/loadall.so' stack traceback: [C]: in function 'require' [string ":lua"]:1: in main chunk

MattJohnson2002 avatar Jul 31 '24 17:07 MattJohnson2002

@MattJohnson2002 https://github.com/nvimdev/dashboard-nvim/issues/430#issuecomment-2003141739 doesn't this work?

you also need run the PlugInstall command

ingenarel avatar Jul 31 '24 22:07 ingenarel