diff options
author | rebuilt <[email protected]> | 2021-09-14 14:37:09 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-09-14 14:37:09 +0200 |
commit | c05bcf58e61b09788741523fb4ccce3c5daa0f0a (patch) | |
tree | 547e28320d1c5e06400fcb6d6f326aad6d3f9ec2 /README.md | |
parent | aa457612526919c26dcb15dfddf1fbaea0c740c6 (diff) |
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 36 |
1 files changed, 36 insertions, 0 deletions
@@ -120,6 +120,42 @@ To update LunarVim: cd ~/.local/share/lunarvim/lvim && git pull :PackerSync ``` +## Known Issues +If you get either of the following errors +- init.lua:6: module 'bootstrap' not found: +- /home/user/.config/nvim/config.lua not found, falling back to /home/user/.config/nvim/lv-config.lua + +Try the following: +```bash +which lvim +# if output is /usr/local/bin/lvim remove it +sudo rm /usr/local/bin/lvim + +which lvim +# if output is ~/.local/bin/lvim, open lvim and run :PackerSync. That should get you to a working state + +# otherwise if `which lvim` returns `not found`, +Make sure the `lvim` file exists in `~/.local/bin/lvim`. +If the file exists,make sure `~/.local/bin` is in your PATH. If not, [add it](https://www.lunarvim.org/02-after-install.html#add-lvim-to-path) +either reinstall again or manually add the lunarvim launcher + +If the file doesn't exist, create the file +cd ~/.local/bin +touch lvim +chmod 755 lvim +``` + +And then add the following to the lvim file you created. Replace all `torvalds` with your user name + +```bash +#!/bin/sh + +export LUNARVIM_CONFIG_DIR="${LUNARVIM_CONFIG_DIR:-/home/torvalds/.config/lvim}" +export LUNARVIM_RUNTIME_DIR="${LUNARVIM_RUNTIME_DIR:-/home/torvalds/.local/share/lunarvim}" + +exec nvim -u "$LUNARVIM_RUNTIME_DIR/lvim/init.lua" "$@" + +``` ## Resources |