Skip to content

Commit 451b870

Browse files
committed
a
0 parents  commit 451b870

File tree

7 files changed

+61
-0
lines changed

7 files changed

+61
-0
lines changed

.github/workflows/doc.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
name: Generate Docs
6+
7+
jobs:
8+
docs:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: panvimdoc
15+
uses: kdheepak/panvimdoc@main
16+
with:
17+
vimdoc: boilerplate
18+
version: "Neovim <= infinity(i think)"
19+
demojify: true
20+
treesitter: true
21+
- name: Push changes
22+
uses: stefanzweifel/git-auto-commit-action@v6
23+
with:
24+
commit_message: "chore: autgenerate vimdoc"
25+
commit_user_name: "github-actions[bot]"
26+
commit_user_email: "github-actions[bot]@users.noreply.github.com"
27+
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/plugin/reload.vim

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
## tiny.pairs
2+
a tiny pairs plugin written with 100% lua pretty sure is under 200 lines

doc/boilerplate.txt

Whitespace-only changes.

lua/tiny/boilerplate.lua

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
--[[
2+
the smallest pair plugin in the universe
3+
--]]
4+
5+
local M = {}
6+
7+
local config = {
8+
enabled = true,
9+
-- add sum stuff here
10+
}
11+
12+
function M.setupfr()
13+
-- stuff happens here
14+
end
15+
16+
function M.setup(opts)
17+
if opts then
18+
config = vim.tbl_deep_extend("force", config, opts)
19+
end
20+
21+
if config.enabled then
22+
M.setupfr()
23+
end
24+
end
25+
26+
return M

plugin/boilerplate.lua

Whitespace-only changes.

stylua.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
indent_type = "Spaces"
2+
indent_width = 2
3+
column_width = 100
4+
quote_style = "AutoPreferDouble"
5+
no_call_parentheses = false

0 commit comments

Comments
 (0)