commit
91b2cbb696
@ -0,0 +1,29 @@
|
|||||||
|
name: Check Markdown links
|
||||||
|
|
||||||
|
on:
|
||||||
|
- push
|
||||||
|
- pull_request
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
github:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: ubuntu:latest
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- run: |
|
||||||
|
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
|
||||||
|
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null
|
||||||
|
apt update
|
||||||
|
apt-get install -y gh
|
||||||
|
- run: >
|
||||||
|
grep '](https://github.com' README.md |
|
||||||
|
sed -re 's/^.*\]\(https:\/\/github.com\/([^\)]*).*/\1/' |
|
||||||
|
xargs -I {} gh api repos/{} --jq '.name + ": " + (.archived|tostring)' > archived_check_list.txt
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- run: >
|
||||||
|
grep ": true" archived_check_list.txt
|
||||||
|
- run: >
|
||||||
|
test $(grep ': true' archived_check_list.txt | wc -l) -le 0
|
@ -0,0 +1,35 @@
|
|||||||
|
# How to make this pluginlist
|
||||||
|
|
||||||
|
## Data Sources
|
||||||
|
|
||||||
|
- awesome-neovim: https://github.com/rockerBOO/awesome-neovim
|
||||||
|
- Reddit Neovim: https://www.reddit.com/r/neovim/
|
||||||
|
- Star of people I follow: https://github.com/yutkat?tab=following
|
||||||
|
|
||||||
|
## Rules for making
|
||||||
|
|
||||||
|
- Only for Neovim plugins. Vim script-made plugin and plugin that also work with Vim are excluded.
|
||||||
|
- Put competing plugins in the same category for ease of selection.
|
||||||
|
- The one at the top of the category is my recommendation.
|
||||||
|
- For plugins with multiple functions (null-ls.nvim), write the function names in parentheses.
|
||||||
|
- Separate categories as much as possible.
|
||||||
|
|
||||||
|
## Tips
|
||||||
|
|
||||||
|
### LuaSnip snippet for easy badge pasting
|
||||||
|
|
||||||
|
```lua
|
||||||
|
s("badge_link", {
|
||||||
|
t({ "- [" }),
|
||||||
|
i(1, { "repo/name" }),
|
||||||
|
f(function(args, snip)
|
||||||
|
return string.format(
|
||||||
|
"](https://github.com/%s) ![](https://img.shields.io/github/stars/%s) ![](https://img.shields.io/github/last-commit/%s) ![](https://img.shields.io/github/commit-activity/y/%s)",
|
||||||
|
args[1][1],
|
||||||
|
args[1][1],
|
||||||
|
args[1][1],
|
||||||
|
args[1][1]
|
||||||
|
)
|
||||||
|
end, { 1 }),
|
||||||
|
}),
|
||||||
|
```
|
Loading…
Reference in New Issue