Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fathurwithyou opened this issue Feb 22, 2024 · 4 comments
Open

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

fathurwithyou opened this issue Feb 22, 2024 · 4 comments

Comments

@fathurwithyou
Copy link

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

@LelouchFR
Copy link

LelouchFR commented Mar 18, 2024

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.

@ingenarel
Copy link

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

@MattJohnson2002
Copy link

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

@ingenarel
Copy link

@MattJohnson2002 #430 (comment) doesn't this work?

you also need run the PlugInstall command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants