Expérimentations avec LazyVim https://www.lazyvim.org/
Go to file
2024-07-11 15:49:24 +02:00
lua Merge remote-tracking branch 'github/main' 2024-07-11 11:41:54 +02:00
.envrc fix(python): problem when using pip as a program 2024-06-17 16:10:54 +02:00
.gitignore feat(node): provide node through ASDF 2023-09-01 20:44:46 +02:00
.neoconf.json refactor: sumneko -> lua_ls (#18) 2023-02-27 10:29:06 +01:00
.tool-versions fix(python): problem when using pip as a program 2024-06-17 16:10:54 +02:00
init.lua chore: node & python updates 2024-06-18 15:57:33 +02:00
lazy-lock.json chore(LazyVim): v12.27 2024-07-11 15:49:24 +02:00
lazyvim.json feat(extra): inc-rename 2024-06-17 15:03:00 +02:00
LICENSE docs: added readme and license 2023-01-07 11:00:23 +01:00
package-lock.json chore: node & python updates 2024-06-18 15:57:33 +02:00
package.json chore: node & python updates 2024-06-18 15:57:33 +02:00
README.md fix: markdown 2024-06-20 18:44:47 +02:00
stylua.toml feat: initial commit 2023-01-07 10:20:36 +01:00

💤 LazyVim

A starter template for LazyVim. Refer to the documentation to get started.

📦 Plugins

To see plugins added & removed in lazy-lock.json since last commit or 2 days ago:

diff -U30 \
  <(git show HEAD:lazy-lock.json | cut -d' ' -f-3) \
  <(cut -d' ' -f-3 lazy-lock.json)

diff -U30 \
  <(git show "@{2 days ago}:lazy-lock.json" | cut -d' ' -f-3) \
  <(cut -d' ' -f-3 lazy-lock.json)

To search for mentions of removed plugins:

for plugin in $(
  diff -U30 \
    <(git show "@{2 days ago}:lazy-lock.json" | cut -d' ' -f-3) \
    <(cut -d' ' -f-3 lazy-lock.json) |
  grep '^- ' |
  cut -d'"' -f2);
do echo "\n ❌ $plugin"; rg $plugin; done

Noice

🛠️ Upgrade

Node

After upgrading node.js with asdf, you may need to execute the following commands:

npm install -g neovim
npm ls neovim

Python

After upgrading python version with asdf, you may need to execute the following commands:

 # Update symbolic links
python -m venv --upgrade "$VIRTUAL_ENV"

 # Install PyNvim
python -m pip install --upgrade pynvim
pip list --format=columns

🛠️ Installation

TL;DR

git clone https://forge.chapril.org/michel_ouba/LazyVim.git ~/.config/nvim
cd ~/.config/nvim
direnv allow

Read also the Upgrade section. And in neovim, check the output of :LazyHealth.

Make a backup of your current Neovim files

 # required
mv ~/.config/nvim{,.bak}

 # optional but recommended
mv ~/.local/share/nvim{,.bak}
mv ~/.local/state/nvim{,.bak}
mv ~/.cache/nvim{,.bak}