docs: plugins checks

This commit is contained in:
Michel 2024-05-28 18:14:07 +02:00
parent d2bd13e0c2
commit 8fc25f4a34

View File

@ -1,30 +1,40 @@
<!-- markdownlint-disable line-length no-inline-html no-duplicate-heading -->
# 💤 LazyVim # 💤 LazyVim
A starter template for [LazyVim](https://github.com/LazyVim/LazyVim). A starter template for [LazyVim](https://github.com/LazyVim/LazyVim).
Refer to the [documentation](https://lazyvim.github.io/installation) to get started. Refer to the [documentation](https://lazyvim.github.io/installation) to get started.
- check latest changes
- <https://github.com/LazyVim/LazyVim/blob/main/CHANGELOG.md>
- <https://github.com/LazyVim/LazyVim/blob/main/NEWS.md>
# 📦 Plugins # 📦 Plugins
To see plugins added & removed in `lazy-lock.json` since last commit. To see plugins added & removed in `lazy-lock.json` since last commit or 2 days ago:
```sh ```sh
diff -U30 \ diff -U30 \
<(git show HEAD:lazy-lock.json | cut -d' ' -f-3) \ <(git show HEAD:lazy-lock.json | cut -d' ' -f-3) \
<(cut -d' ' -f-3 lazy-lock.json) <(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:
```sh
for plugin in $( for plugin in $(
diff -U30 \ diff -U30 \
<(git show HEAD:lazy-lock.json | cut -d' ' -f-3) \ <(git show "@{2 days ago}:lazy-lock.json" | cut -d' ' -f-3) \
<(cut -d' ' -f-3 lazy-lock.json) | <(cut -d' ' -f-3 lazy-lock.json) |
grep '^- ' | grep '^- ' |
cut -d'"' -f2); cut -d'"' -f2);
do echo "\n ❌ $plugin"; grep $plugin; done do echo "\n ❌ $plugin"; rg $plugin; done
``` ```
## vim-illuminate
M-p / M-n
# 🛠️ Installation # 🛠️ Installation
## TL;DR ## TL;DR