summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorrebuilt <[email protected]>2021-09-14 14:37:09 +0200
committerGitHub <[email protected]>2021-09-14 14:37:09 +0200
commitc05bcf58e61b09788741523fb4ccce3c5daa0f0a (patch)
tree547e28320d1c5e06400fcb6d6f326aad6d3f9ec2 /README.md
parentaa457612526919c26dcb15dfddf1fbaea0c740c6 (diff)
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md36
1 files changed, 36 insertions, 0 deletions
diff --git a/README.md b/README.md
index 052952da..2f297f7a 100644
--- a/README.md
+++ b/README.md
@@ -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