-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a3efa8e
commit 2ff4b05
Showing
16 changed files
with
351 additions
and
380 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
on: [pull_request] | ||
name: luacheck | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
luacheck: | ||
name: Luacheck | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
--- | ||
on: [pull_request] | ||
name: stylua | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
stylua: | ||
name: stylua | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: test | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened, ready_for_review] | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
neovim: [v0.10.0, stable, nightly] | ||
|
||
runs-on: ${{ matrix.os }} | ||
name: "OS: ${{ matrix.os }} - Neovim: ${{ matrix.neovim }}" | ||
|
||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- uses: leafo/gh-actions-lua@v10 | ||
with: | ||
# Neovim is compiled with LuaJIT so we might as well match. But it | ||
# doesn't look like we can match it exactly. | ||
# | ||
# Reference: | ||
# https://github.com/leafo/gh-actions-lua/issues/49#issuecomment-2295071198 | ||
# | ||
luaVersion: "luajit-openresty" | ||
|
||
- uses: leafo/gh-actions-luarocks@v4 | ||
|
||
- uses: rhysd/action-setup-vim@v1 | ||
with: | ||
neovim: true | ||
version: ${{ matrix.neovim }} | ||
|
||
- name: build | ||
run: | | ||
luarocks test plugin-template-scm-1.rockspec --prepare | ||
- name: test | ||
run: | | ||
luarocks test --test-type busted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,18 @@ | ||
*plugin-template-news.txt* | ||
|
||
Notable changes since PluginTemplate 0.1 | ||
Notable changes since PluginTemplate 1.0 | ||
|
||
|
||
=============================================================================== | ||
NEW FEATURES *plugin-template-new-features* | ||
|
||
GENERAL | ||
|
||
- 100% Lua | ||
- LuaCATS <https://luals.github.io/wiki/annotations/> annotations and type-hints, everywhere | ||
- No external dependencies | ||
|
||
CI | ||
|
||
- Github actions for: | ||
- PR reviews - Reminds users to update `doc/news.txt` | ||
- `StyLua` | ||
- `llscheck` | ||
- `luacheck` | ||
- `luarocks` | ||
- `panvimdoc` | ||
- RSS feed support | ||
|
||
CLI | ||
|
||
- Added nargs support to `cmdparse` and other features | ||
|
||
START UP | ||
|
||
- Fast start-up (the plugin is defer-loaded) | ||
- Follows nvim-best-practices <https://github.com/nvim-neorocks/nvim-best-practices> | ||
|
||
COMMANDS | ||
|
||
- Built-in Vim commands with auto-completion | ||
|
||
TESTS | ||
|
||
- Unittests use the full power of native busted <https://olivinelabs.com/busted> | ||
|
||
TOOLS | ||
|
||
Integrates with | ||
|
||
- lualine.nvim <https://github.com/nvim-lualine/lualine.nvim> | ||
- telescope.nvim <https://github.com/nvim-telescope/telescope.nvim> | ||
- `:checkhealth` | ||
We're live! | ||
|
||
|
||
=============================================================================== | ||
BREAKING CHANGES *plugin-template-new-breaking* | ||
|
||
CLI | ||
n/a | ||
|
||
- Replaced the old raw-lua-table-based API with a class-based API. | ||
|
||
vim:tw=78:ts=8:noet:ft=help:norl: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.