From 1ac46d79b9a2354df71f681c1d467f144de5cbfc Mon Sep 17 00:00:00 2001 From: Christian Chiarulli Date: Mon, 30 Aug 2021 01:00:58 -0400 Subject: fix: spacegray -> onedarker --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 7f2f742d..11b50b5e 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ Example: -- general lvim.format_on_save = true lvim.lint_on_save = true -lvim.colorscheme = "spacegray" +lvim.colorscheme = "onedarker" lvim.builtin.compe.autocomplete = true -- cgit v1.2.3 From 86d8d970f55469c4f9b0e130d2dd76e9b2970e96 Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Tue, 31 Aug 2021 11:20:42 +0430 Subject: Update README.md --- README.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 11b50b5e..71c1e33c 100644 --- a/README.md +++ b/README.md @@ -40,17 +40,19 @@ The following options are supported by setting environment variables: Putting it all together ``` bash -curl -LSs https://raw.githubusercontent.com/lunarvim/lunarvim/rolling/utils/installer/install.sh -O install.sh -INSTALL_PREFIX=/tmp/t1 LUNARVIM_CONFIG_DIR=/tmp/t2 LUNARVIM_RUNTIME_DIR=/tmp/t3 bash ./install.sh +curl -LSs https://raw.githubusercontent.com/lunarvim/lunarvim/rolling/utils/installer/install.sh --output install.sh +bash ./install.sh +# you can customize it like this +# INSTALL_PREFIX=/tmp/t1 LUNARVIM_CONFIG_DIR=/tmp/t2 LUNARVIM_RUNTIME_DIR=/tmp/t3 bash ./install.sh ``` ### BREAKING CHANGE on rolling and master branches -* The latest changes to LunarVim require you to [remove it completely](https://github.com/lunarvim/LunarVim/wiki/Uninstalling-LunarVim) before upgrading +* The latest changes to LunarVim require you to [remove it completely](https://www.lunarvim.org/01-installing.html#uninstall) before upgrading * Going forward LunarVim will no longer reside in the nvim configuration folder. LunarVim has been moved to `~/.local/share/lunarvim`. * To launch Lunarvim use the new `lvim` command. `nvim` will only launch standard neovim. * Your personal configuration file (`config.lua`) can now be found in `~/.config/lvim`. You can initialize this folder as a git repository to track changes to your configuration files. * If you want to keep launching LunarVim with the `nvim` command, add an alias entry to your shell's config file: `alias nvim=lvim`. To temporarily revert to the default `nvim` prefix it with a backslash `\nvim`. -* Many options formerly available in `config.lua` have been renamed. For details [look here](https://github.com/lunarvim/LunarVim/wiki/Breaking-changes-in-rolling) +* Many options formerly available in `config.lua` have been renamed. ### Debugging LunarVim's configuration * To turn on debugging add these settings `lvim.log.level = debug` and use `Ll` to see the options of viewing the logfiles @@ -65,7 +67,8 @@ you can run the script with `--overwrite` but be warned this will remove the fol - `~/.local/share/lunarvim` #Removed only on Rolling Branch - `~/.config/lvim` #Removed only on Rolling Branch ```bash -curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/rolling/utils/installer/install.sh | LVBRANCH=rolling bash -s -- --overwrite +curl -LSs https://raw.githubusercontent.com/lunarvim/lunarvim/rolling/utils/installer/install.sh --output install.sh +LVBRANCH=rolling bash install.sh --overwrite ``` then run nvim and wait for treesitter to finish the installation @@ -76,7 +79,7 @@ Just enter `:LspInstall` followed by `` to see your options **NOTE** I recommend installing `lua` for autocomplete in `config.lua` -For the julia language server look [here](https://github.com/lunarvim/LunarVim/wiki/Enabling-a-language-server#julia-support) +For the julia language server look [here](https://www.lunarvim.org/languages/julia.html) ## Configuration file @@ -185,7 +188,7 @@ cd ~/.local/share/lunarvim/lvim && git pull :PackerSync ``` -To update Neovim use your package manager or [compile from source](https://github.com/lunarvim/LunarVim/wiki/Installation#get-the-latest-version-of-neovim) +To update Neovim use your package manager or [compile from source](https://github.com/neovim/neovim/wiki/Installing-Neovim#install-from-source) ## Project Goals -- cgit v1.2.3 From f5e2342f84ff848fb3ac37f6351244431ada8a9e Mon Sep 17 00:00:00 2001 From: Christian Chiarulli Date: Thu, 2 Sep 2021 11:22:51 -0400 Subject: update README --- README.md | 100 +++++++------------------------------------------------------- 1 file changed, 10 insertions(+), 90 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 71c1e33c..d3ae0bb3 100644 --- a/README.md +++ b/README.md @@ -20,67 +20,26 @@ -## Install In One Command! - -Make sure you have the newest version of Neovim (0.5). - -``` bash -bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/install.sh) -``` +## Documentation -### Customizing the installation +You can find all of the documentation for Lunarvim at [lunarvim.org](https://www.lunarvim.org) -The following options are supported by setting environment variables: -- `"$LV_REMOTE"` Select a different LunarVim remote [default: 'lunarvim/lunarvim.git'] -- `"$LV_BRANCH"` Select LunarVim's branch [default: 'rolling'] -- `"$INSTALL_PREFIX"` Select LunarVim's install prefix [default: `'$HOME/.local'`] -- `"$LUNARVIM_RUNTIME_DIR"` Select LunarVim's runtime directory [default: `'$HOME/.local/share/lunarvim'`] -- `"$LUNARVIM_CONFIG_DIR"` Select LunarVim's configuration directory [default: `'$HOME/.config/lvim'`] +## Install In One Command! -Putting it all together +Make sure you have the release version of Neovim (0.5). ``` bash -curl -LSs https://raw.githubusercontent.com/lunarvim/lunarvim/rolling/utils/installer/install.sh --output install.sh -bash ./install.sh -# you can customize it like this -# INSTALL_PREFIX=/tmp/t1 LUNARVIM_CONFIG_DIR=/tmp/t2 LUNARVIM_RUNTIME_DIR=/tmp/t3 bash ./install.sh -``` - -### BREAKING CHANGE on rolling and master branches -* The latest changes to LunarVim require you to [remove it completely](https://www.lunarvim.org/01-installing.html#uninstall) before upgrading -* Going forward LunarVim will no longer reside in the nvim configuration folder. LunarVim has been moved to `~/.local/share/lunarvim`. -* To launch Lunarvim use the new `lvim` command. `nvim` will only launch standard neovim. -* Your personal configuration file (`config.lua`) can now be found in `~/.config/lvim`. You can initialize this folder as a git repository to track changes to your configuration files. -* If you want to keep launching LunarVim with the `nvim` command, add an alias entry to your shell's config file: `alias nvim=lvim`. To temporarily revert to the default `nvim` prefix it with a backslash `\nvim`. -* Many options formerly available in `config.lua` have been renamed. - -### Debugging LunarVim's configuration -* To turn on debugging add these settings `lvim.log.level = debug` and use `Ll` to see the options of viewing the logfiles -* You can also use install [lnav](https://github.com/tstack/lnav) and use it in a floating terminal. Make sure to set `lvim.builtin.terminal.active = true`. - -### Fixing installation problems -If your installation is stuck on `Ok to remove? [y/N]`, it means there are some leftovers, \ -you can run the script with `--overwrite` but be warned this will remove the following folders: -- `~/.cache/nvim` -- `~/.config/nvim` #Removed only on Master Branch -- `~/.local/share/nvim/site/pack/packer` #Removed only on Master Branch -- `~/.local/share/lunarvim` #Removed only on Rolling Branch -- `~/.config/lvim` #Removed only on Rolling Branch -```bash -curl -LSs https://raw.githubusercontent.com/lunarvim/lunarvim/rolling/utils/installer/install.sh --output install.sh -LVBRANCH=rolling bash install.sh --overwrite +bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/install.sh) ``` -then run nvim and wait for treesitter to finish the installation +## Install Language support -## Installing LSP for your language +- Enter `:LspInstall` followed by `` to see your options for LSP -Just enter `:LspInstall` followed by `` to see your options +- Enter `:TSInstall` followed by `` to see your options for syntax highlighting **NOTE** I recommend installing `lua` for autocomplete in `config.lua` -For the julia language server look [here](https://www.lunarvim.org/languages/julia.html) - ## Configuration file To activate other plugins and language features use the `lv-config.lua` file provided in the `nvim` folder (`~/.config/nvim/lv-config.lua`) in the master branch or (`~/.config/lvim/config.lua`) on rolling @@ -90,12 +49,8 @@ Example: ```lua -- general lvim.format_on_save = true -lvim.lint_on_save = true lvim.colorscheme = "onedarker" -lvim.builtin.compe.autocomplete = true - --- keymappings [view all the defaults by pressing Lk] lvim.leader = "space" -- add your own keymapping lvim.keys.normal_mode[""] = ":w" @@ -159,17 +114,7 @@ lvim.plugins = { -- lvim.autocommands.custom_groups = { -- { "BufWinEnter", "*.lua", "setlocal ts=8 sw=8" }, -- } - - -``` - -In case you want to see all the settings inside LunarVim, run the following: - -```bash -cd /tmp -lvim --headless +'lua require("utils").generate_settings()' +qa && sort -o lv-settings.lua{,} ``` -and then inspect `/tmp/lv-settings.lua` file ## Updating LunarVim @@ -188,37 +133,12 @@ cd ~/.local/share/lunarvim/lvim && git pull :PackerSync ``` -To update Neovim use your package manager or [compile from source](https://github.com/neovim/neovim/wiki/Installing-Neovim#install-from-source) - -## Project Goals - -1. Provide basic functionalities required from an IDE - - LSP - - Formatting/Linting - - Debugging - - Treesitter - - Colorschemes -2. Be as fast and lean as possible - - Lazy loading - - Not a single extra plugin - - User configurable lang/feature enable/disable -3. Provide a [simple and easy](https://github.com/LunarVim/LunarVimCommunity) way for users to share their own configuration or use others. -4. Hot reload of configurations - - Hot install of lsp/treesitter/formatter required upon opening a filetype for the first time -5. Provide a stable & maintainable error free configuration layer over neovim - - With the help of the community behind it - - Github workflow testing - - Freezing plugin versions -6. Provide detailed documentation - - Video series on how to configure LunarVim as an IDE for each lang -7. Valhalla - ## Resources -- [YouTube](https://www.youtube.com/channel/UCS97tchJDq17Qms3cux8wcA) - - [Documentation](https://www.lunarvim.org) +- [YouTube](https://www.youtube.com/channel/UCS97tchJDq17Qms3cux8wcA) + - [Discord](https://discord.gg/Xb9B4Ny) - [Twitter](https://twitter.com/chrisatmachine) -- cgit v1.2.3 From b1e35e351461ce308255c0562b404d0bdaba4651 Mon Sep 17 00:00:00 2001 From: Christian Chiarulli Date: Thu, 2 Sep 2021 11:28:16 -0400 Subject: fix: update example config in readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d3ae0bb3..4bc3b0aa 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/ ## Configuration file -To activate other plugins and language features use the `lv-config.lua` file provided in the `nvim` folder (`~/.config/nvim/lv-config.lua`) in the master branch or (`~/.config/lvim/config.lua`) on rolling +To install plugins configure LunarVim use the `config.lua` located here: `~/.config/lvim/config.lua` Example: @@ -73,15 +73,15 @@ lvim.keys.normal_mode[""] = ":w" -- w = { "Trouble lsp_workspace_diagnostics", "Diagnosticss" }, -- } --- After changing plugin config exit and reopen LunarVim, Run :PackerInstall :PackerCompile +-- Configure builtin plugins lvim.builtin.dashboard.active = true lvim.builtin.terminal.active = true --- if you don't want all the parsers change this to a table of the ones you want +-- Treesitter parsers change this to a table of the languages you want i.e. {"java", "python", javascript} lvim.builtin.treesitter.ensure_installed = "maintained" lvim.builtin.treesitter.ignore_install = { "haskell" } -lvim.builtin.treesitter.highlight.enabled = true +-- Disable virtual text lvim.lsp.diagnostics.virtual_text = false -- set a formatter if you want to override the default lsp one (if it exists) -- cgit v1.2.3 From f354012254c68dc745b5fdaafa242e651cc201aa Mon Sep 17 00:00:00 2001 From: Christian Chiarulli Date: Thu, 2 Sep 2021 11:45:04 -0400 Subject: chore: simplify example --- README.md | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4bc3b0aa..4157a3af 100644 --- a/README.md +++ b/README.md @@ -63,15 +63,6 @@ lvim.keys.normal_mode[""] = ":w" -- Use which-key to add extra bindings with the leader-key prefix -- lvim.builtin.which_key.mappings["P"] = { "Telescope projects", "Projects" } --- lvim.builtin.which_key.mappings["t"] = { --- name = "+Trouble", --- r = { "Trouble lsp_references", "References" }, --- f = { "Trouble lsp_definitions", "Definitions" }, --- d = { "Trouble lsp_document_diagnostics", "Diagnosticss" }, --- q = { "Trouble quickfix", "QuickFix" }, --- l = { "Trouble loclist", "LocationList" }, --- w = { "Trouble lsp_workspace_diagnostics", "Diagnosticss" }, --- } -- Configure builtin plugins lvim.builtin.dashboard.active = true @@ -109,11 +100,6 @@ lvim.plugins = { event = "InsertEnter" } } - --- Autocommands (https://neovim.io/doc/user/autocmd.html) --- lvim.autocommands.custom_groups = { --- { "BufWinEnter", "*.lua", "setlocal ts=8 sw=8" }, --- } ``` ## Updating LunarVim -- cgit v1.2.3 From 087fb255ee070cdfb34eacdb7b34d5b6df35a7ee Mon Sep 17 00:00:00 2001 From: pr3c0g Date: Tue, 14 Sep 2021 08:33:10 +0100 Subject: Update README.md to delete old bin Previous versions of LunarVim had the bin located in `/usr/local/bin/lvim`. Since the new one is at `.local/bin/lvim`, if $PATH has the previous bin location before the new one, new installations on systems that had already LunarVim installed in the past, will fail to work. Hence, the old one should be removed. --- README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 4157a3af..de09e706 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,8 @@ You can find all of the documentation for Lunarvim at [lunarvim.org](https://www Make sure you have the release version of Neovim (0.5). +If you have previously installed LunarVim, make sure to remove `/usr/local/bin/lvim`, as we've moved to `.local/bin/lvim` + ``` bash bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/install.sh) ``` -- cgit v1.2.3 From 3b62c9be214ad59a9f29af3cdc55ead31320c9bc Mon Sep 17 00:00:00 2001 From: rebuilt Date: Tue, 14 Sep 2021 12:52:44 +0200 Subject: Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index de09e706..1fe7af03 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ You can find all of the documentation for Lunarvim at [lunarvim.org](https://www Make sure you have the release version of Neovim (0.5). -If you have previously installed LunarVim, make sure to remove `/usr/local/bin/lvim`, as we've moved to `.local/bin/lvim` +If you have previously installed LunarVim, make sure to remove `/usr/local/bin/lvim`, as we've moved the launcher to `~.local/bin/lvim` ``` bash bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/install.sh) -- cgit v1.2.3 From aa457612526919c26dcb15dfddf1fbaea0c740c6 Mon Sep 17 00:00:00 2001 From: rebuilt Date: Tue, 14 Sep 2021 12:53:17 +0200 Subject: Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 1fe7af03..052952da 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ You can find all of the documentation for Lunarvim at [lunarvim.org](https://www Make sure you have the release version of Neovim (0.5). -If you have previously installed LunarVim, make sure to remove `/usr/local/bin/lvim`, as we've moved the launcher to `~.local/bin/lvim` +If you have previously installed LunarVim, make sure to remove `/usr/local/bin/lvim`, as we've moved the launcher to `~/.local/bin/lvim` ``` bash bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/install.sh) -- cgit v1.2.3 From c05bcf58e61b09788741523fb4ccce3c5daa0f0a Mon Sep 17 00:00:00 2001 From: rebuilt Date: Tue, 14 Sep 2021 14:37:09 +0200 Subject: Update README.md --- README.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 052952da..2f297f7a 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,42 @@ To update LunarVim: ```bash 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 -- cgit v1.2.3 From edcf15ba672986cb90358e739d801919f4cf91e0 Mon Sep 17 00:00:00 2001 From: christianchiarulli Date: Tue, 14 Sep 2021 12:17:31 -0400 Subject: chore: add demo images --- README.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 2f297f7a..9f57ffae 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,11 @@ bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/ **NOTE** I recommend installing `lua` for autocomplete in `config.lua` + +![Demo1](./utils/media/demo1.png) +![Demo2](./utils/media/demo2.png) +![Demo3](./utils/media/demo3.png) + ## Configuration file To install plugins configure LunarVim use the `config.lua` located here: `~/.config/lvim/config.lua` -- cgit v1.2.3 From e22f9a21c179901e6dfcbdb68d035e70eae4d9e8 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Thu, 16 Sep 2021 09:58:32 +0200 Subject: fix: more robust reloading (#1556) --- README.md | 36 +++++++++--------------------------- 1 file changed, 9 insertions(+), 27 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 9f57ffae..e3873408 100644 --- a/README.md +++ b/README.md @@ -123,43 +123,25 @@ To update LunarVim: ```bash cd ~/.local/share/lunarvim/lvim && git pull -:PackerSync +lvim +LvimCacheReset +PackerUpdate ``` ## 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: +Try the following methods: +1. clear up the cache files used by the startup processing. You can either pass it as an argument ```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 +lvim +LvimCacheReset ``` +or just call it manually when inside LunarVim `:LvimCacheReset` -And then add the following to the lvim file you created. Replace all `torvalds` with your user name - +2. make sure your `lvim` binary is up-to-date ```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" "$@" - +LUNARVIM_RUNTIME_DIR="${LUNARVIM_RUNTIME_DIR:-$HOME/.local/share/lunarvim}" +bash "$LUNARVIM_RUNTIME_DIR/utils/installer/install_bin.sh" ``` ## Resources -- cgit v1.2.3 From f5c03643a24a383f4cabe961b120fff45ad4e09b Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Tue, 21 Sep 2021 12:23:02 +0430 Subject: fix lsp_signature in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index e3873408..d9740884 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ lvim.plugins = { {"folke/tokyonight.nvim"}, { "ray-x/lsp_signature.nvim", config = function() require"lsp_signature".on_attach() end, - event = "InsertEnter" + event = "BufRead" } } ``` -- cgit v1.2.3 From 94a166594e9e4913a0b89f6bfd400c536a596dd4 Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Wed, 29 Sep 2021 13:51:03 +0330 Subject: Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d9740884..98f0508b 100644 --- a/README.md +++ b/README.md @@ -140,8 +140,8 @@ or just call it manually when inside LunarVim `:LvimCacheReset` 2. make sure your `lvim` binary is up-to-date ```bash -LUNARVIM_RUNTIME_DIR="${LUNARVIM_RUNTIME_DIR:-$HOME/.local/share/lunarvim}" -bash "$LUNARVIM_RUNTIME_DIR/utils/installer/install_bin.sh" +export LUNARVIM_RUNTIME_DIR="${LUNARVIM_RUNTIME_DIR:-$HOME/.local/share/lunarvim}" +bash "$LUNARVIM_RUNTIME_DIR/lvim/utils/installer/install_bin.sh" ``` ## Resources -- cgit v1.2.3 From a273c46eee751de4a61360ae0076ed4dac433e5d Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Fri, 1 Oct 2021 13:27:06 +0200 Subject: feat: add LvimUpdate command (#1634) * feat: add prelimenary LvimUpdate command * feat: use native process management * feat: add a telescope change-log utility * fix: update readme to include the new command --- README.md | 45 +++++++++------------------------------------ 1 file changed, 9 insertions(+), 36 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 98f0508b..8495fb79 100644 --- a/README.md +++ b/README.md @@ -16,21 +16,19 @@ follow on Twitter -

+

## Documentation -You can find all of the documentation for Lunarvim at [lunarvim.org](https://www.lunarvim.org) +You can find all the documentation for Lunarvim at [lunarvim.org](https://www.lunarvim.org) ## Install In One Command! Make sure you have the release version of Neovim (0.5). -If you have previously installed LunarVim, make sure to remove `/usr/local/bin/lvim`, as we've moved the launcher to `~/.local/bin/lvim` - -``` bash +```bash bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/install.sh) ``` @@ -42,7 +40,6 @@ bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/ **NOTE** I recommend installing `lua` for autocomplete in `config.lua` - ![Demo1](./utils/media/demo1.png) ![Demo2](./utils/media/demo2.png) ![Demo3](./utils/media/demo3.png) @@ -111,38 +108,12 @@ lvim.plugins = { ## Updating LunarVim -In order to update you should be aware of three things `Plugins`, `LunarVim` and `Neovim` - -To update plugins: - -``` -:PackerUpdate -``` - -To update LunarVim: +- inside LunarVim `:LvimUpdate` +- from the command-line `lvim +LvimUpdate +q` -```bash -cd ~/.local/share/lunarvim/lvim && git pull -lvim +LvimCacheReset +PackerUpdate -``` -## 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 methods: -1. clear up the cache files used by the startup processing. You can either pass it as an argument -```bash -lvim +LvimCacheReset -``` -or just call it manually when inside LunarVim `:LvimCacheReset` +### Update the plugins -2. make sure your `lvim` binary is up-to-date -```bash -export LUNARVIM_RUNTIME_DIR="${LUNARVIM_RUNTIME_DIR:-$HOME/.local/share/lunarvim}" -bash "$LUNARVIM_RUNTIME_DIR/lvim/utils/installer/install_bin.sh" -``` +- inside LunarVim `:PackerUpdate` ## Resources @@ -157,9 +128,11 @@ bash "$LUNARVIM_RUNTIME_DIR/lvim/utils/installer/install_bin.sh" ## Testimonials > "I have the processing power of a potato with 4 gb of ram and LunarVim runs perfectly." +> > - @juanCortelezzi, LunarVim user. > "My minimal config with a good amount less code than LunarVim loads 40ms slower. Time to switch." +> > - @mvllow, Potential LunarVim user.
-- cgit v1.2.3 From 0a41e9e11801ebca60230a9a07ca2fa783787852 Mon Sep 17 00:00:00 2001 From: Lee Marlow Date: Sat, 2 Oct 2021 10:02:55 -0600 Subject: docs: spelling fixes and LunarVim name consistency (#1655) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 8495fb79..42e4e565 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ ## Documentation -You can find all the documentation for Lunarvim at [lunarvim.org](https://www.lunarvim.org) +You can find all the documentation for LunarVim at [lunarvim.org](https://www.lunarvim.org) ## Install In One Command! -- cgit v1.2.3 From efd8f589b75ba883ef4e69d79982d3c200595ec0 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Sun, 3 Oct 2021 22:23:13 +0200 Subject: fix: add deprecation notice for lvim.lang.foo.lsp (#1670) --- README.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 42e4e565..14cb1267 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,11 @@ lvim.plugins = { - inside LunarVim `:PackerUpdate` +## Breaking changes + +- `lvim.lang.FOO.lsp` is no longer supported after #1584. + You can either use `:NlspConfig` for most of the settings you might need, or override the setup by adding an entry to `lvim.lsp.override = { "FOO" }`. + ## Resources - [Documentation](https://www.lunarvim.org) -- cgit v1.2.3