Skip to content

Commit

Permalink
📦 Support luarocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Jun 21, 2024
1 parent 0c9fe47 commit 4552e98
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 10 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
"on":
push:
paths-ignore:
- "**.md"
- doc/*
pull_request:
paths-ignore:
- "**.md"
- doc/*
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nvim-neorocks/luarocks-tag-release@v5
env:
LUAROCKS_API_KEY: ${{secrets.LUAROCKS_API_KEY}}
if: "! startsWith(github.ref, 'refs/tags/')"
with:
version: scm
- uses: nvim-neorocks/luarocks-tag-release@v5
env:
LUAROCKS_API_KEY: ${{secrets.LUAROCKS_API_KEY}}
if: startsWith(github.ref, 'refs/tags/')
25 changes: 15 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: fix-byte-order-marker
Expand All @@ -21,11 +21,11 @@ repos:
- id: check-toml
- id: check-json
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.1
rev: v1.5.5
hooks:
- id: remove-crlf
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
rev: v2.3.0
hooks:
- id: codespell
additional_dependencies:
Expand All @@ -37,19 +37,23 @@ repos:
args:
- --msg-filename
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: 2.7.1
rev: 2.7.3
hooks:
- id: editorconfig-checker
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: check-mailmap
- repo: https://github.com/rhysd/actionlint
rev: v1.7.1
hooks:
- id: actionlint
- repo: https://github.com/adrienverge/yamllint
rev: v1.32.0
rev: v1.35.1
hooks:
- id: yamllint
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.16
rev: 0.7.17
hooks:
- id: mdformat
additional_dependencies:
Expand All @@ -59,16 +63,17 @@ repos:
- mdformat-toc
- mdformat-deflist
- mdformat-beautysh
- mdformat-black
- mdformat-ruff
- mdformat-config
- mdformat-web
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.7.1
rev: v0.13.0
hooks:
- id: markdownlint-cli2
additional_dependencies:
- markdown-it-texmath@0.9.1
- markdown-it-texmath
- repo: https://github.com/vimjas/vint
rev: v0.4a4
rev: v0.4a3
hooks:
- id: vint
- repo: https://github.com/google/vimdoc
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
[![github/repo-size](https://shields.io/github/repo-size/Freed-Wu/airline-renderer-nerdfont.vim)](https://github.com/Freed-Wu/airline-renderer-nerdfont.vim)
[![github/v](https://shields.io/github/v/release/Freed-Wu/airline-renderer-nerdfont.vim)](https://github.com/Freed-Wu/airline-renderer-nerdfont.vim)

[![luarocks](https://img.shields.io/luarocks/v/Freed-Wu/airline-renderer-nerdfont.vim)](https://luarocks.org/modules/Freed-Wu/airline-renderer-nerdfont.vim)

[vim-airline](https://github.com/vim-airline/vim-airline) plugin which add file
type icon through [nerdfont.vim](https://github.com/lambdalisue/nerdfont.vim).

Expand Down

0 comments on commit 4552e98

Please sign in to comment.