diff --git a/.github/workflows/upstream-digest.yml b/.github/workflows/upstream-digest.yaml similarity index 98% rename from .github/workflows/upstream-digest.yml rename to .github/workflows/upstream-digest.yaml index 2ebfc22..17020d4 100644 --- a/.github/workflows/upstream-digest.yml +++ b/.github/workflows/upstream-digest.yaml @@ -2,7 +2,7 @@ name: upstream digest on: schedule: - - cron: "0 9 * * 1" + - cron: '0 9 * * 1' workflow_dispatch: permissions: diff --git a/.luarc.json b/.luarc.json index c0448ca..78a7d8a 100644 --- a/.luarc.json +++ b/.luarc.json @@ -4,7 +4,8 @@ "pathStrict": true }, "workspace": { - "checkThirdParty": false + "checkThirdParty": false, + "ignoreDir": [".direnv"] }, "type": { "checkTableShape": true diff --git a/.styluaignore b/.styluaignore new file mode 100644 index 0000000..9b42106 --- /dev/null +++ b/.styluaignore @@ -0,0 +1 @@ +.direnv/ diff --git a/README.md b/README.md index 02e14d7..771c6a7 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,8 @@ A refined [oil.nvim](https://github.com/stevearc/oil.nvim) — edit your filesystem like a buffer, with bug fixes and community PRs that haven't landed upstream. -[Upstream tracker](doc/upstream.md) — full PR and issue triage against [oil.nvim](https://github.com/stevearc/oil.nvim) +[Upstream tracker](doc/upstream.md) — full PR and issue triage against +[oil.nvim](https://github.com/stevearc/oil.nvim) https://user-images.githubusercontent.com/506791/209727111-6b4a11f4-634a-4efa-9461-80e9717cea94.mp4 diff --git a/scripts/ci.sh b/scripts/ci.sh new file mode 100755 index 0000000..3e9356d --- /dev/null +++ b/scripts/ci.sh @@ -0,0 +1,7 @@ +#!/bin/sh +set -eu + +nix develop --command stylua --check lua spec +git ls-files '*.lua' | xargs nix develop --command selene --display-style quiet +nix develop --command prettier --check . +nix develop --command busted