A .build.yml => .build.yml +9 -0
@@ 0,0 1,9 @@
+image: archlinux
+packages:
+ - selene-linter
+sources:
+ - https://git.xenrox.net/~xenrox/srht-patches.nvim
+tasks:
+ - lint: |
+ cd srht-patches.nvim
+ make lint
A Makefile => Makefile +4 -0
@@ 0,0 1,4 @@
+lint:
+ selene lua
+
+.PHONY: lint
M README.md => README.md +2 -0
@@ 1,5 1,7 @@
# srht-patches.nvim
+[![builds.sr.ht status](https://builds.xenrox.net/~xenrox/srht-patches.nvim/commits/.build.yml.svg)](https://builds.xenrox.net/~xenrox/srht-patches.nvim/commits/.build.yml?)
+
srht-patches.nvim is a plugin for neovim that helps to set the status of patchsets.
It currently supports "applied" (`PatchApplied`), "rejected" (`PatchRejected`) and "needs revision" (`PatchNeedsRevision`).
You can either bind these commands to bindings or use the `setup` function to configure this plugin to ask for the status on save (`auto_check`).