Skip to content

Commit 29fd8bd

Browse files
mrcjkbMarc Jakobisgoudham
authored
feat: luarocks/rocks.nvim support (#697)
Co-authored-by: Marc Jakobi <marc.jakobi@tiko.energy> Co-authored-by: sgoudham <sgoudham@gmail.com>
1 parent 605b460 commit 29fd8bd

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,22 @@ on:
66
workflow_dispatch:
77

88
jobs:
9-
release:
10-
name: release
9+
release-please:
1110
runs-on: ubuntu-latest
1211
steps:
1312
- uses: googleapis/release-please-action@v4
1413
id: release
1514
with:
1615
release-type: simple
1716
package-name: catppuccin
17+
outputs:
18+
release_created: ${{ steps.release.outputs.release_created }}
19+
tag_name: ${{ steps.release.outputs.tag_name }}
20+
21+
release:
22+
runs-on: ubuntu-latest
23+
if: ${{ needs.release-please.outputs.release_created }}
24+
steps:
1825
- uses: actions/checkout@v6
1926
- name: tag stable versions
2027
if: ${{ steps.release.outputs.release_created }}
@@ -26,3 +33,10 @@ jobs:
2633
git push origin :stable || true
2734
git tag -a stable -m "Last Stable Release"
2835
git push origin stable
36+
- name: Upload to LuaRocks
37+
uses: nvim-neorocks/luarocks-tag-release@v7
38+
env:
39+
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
40+
with:
41+
name: catppuccin.nvim
42+
version: ${{ needs.release-please.outputs.tag_name }}

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ with Neovim 0.12's `vim.pack`
7676
vim.pack.add({ src = "https://github.com/catppuccin/nvim", name = "catppuccin" })
7777
```
7878

79+
[rocks.nvim](https://github.com/nvim-neorocks/rocks.nvim)
80+
81+
```vim
82+
:Rocks install catppuccin.nvim
83+
```
84+
7985
### Vim support
8086

8187
Support for Vim is provided through the `vim` branch.

doc/catppuccin.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ with Neovim 0.12’s `vim.pack`
4949
vim.pack.add({ src = "https://github.com/catppuccin/nvim", name = "catppuccin" })
5050
<
5151

52+
rocks.nvim <https://github.com/nvim-neorocks/rocks.nvim>
53+
54+
>vim
55+
:Rocks install catppuccin.nvim
56+
<
5257

5358
VIM SUPPORT ~
5459

0 commit comments

Comments
 (0)