Skip to content

Commit acab4e7

Browse files
committed
a
0 parents  commit acab4e7

7 files changed

Lines changed: 85 additions & 0 deletions

File tree

.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.basics
2+
some useful presets

doc/basics.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
*boilerplate.txt* For Neovim <= infinity(i think) Last change: 2025 August 17
2+
3+
==============================================================================
4+
Table of Contents *boilerplate-table-of-contents*
5+
6+
- tiny.boilerplate |boilerplate-tiny.boilerplate|
7+
8+
TINY.BOILERPLATE *boilerplate-tiny.boilerplate*
9+
10+
a tiny boilerplate for a neovim plugin
11+
12+
Generated by panvimdoc <https://github.com/kdheepak/panvimdoc>
13+
14+
vim:tw=78:ts=8:noet:ft=help:norl:

lua/basics.lua

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
--[[
2+
the smallest config preset plugin in the universe
3+
--]]
4+
5+
local M = {}
6+
7+
local config = {
8+
enabled = true,
9+
options = {
10+
tabstop = 2,
11+
shiftwidth = 2,
12+
nu = true,
13+
relativenumber = true,
14+
clipboard = "unnamedplus",
15+
inccommand = "split",
16+
laststatus = 3,
17+
wrap = false,
18+
undofile = true,
19+
whichwrap = vim.o.whichwrap .. "<>[]hl"
20+
}
21+
-- add sum stuff here
22+
}
23+
24+
25+
vim.o.tabstop = config.options.tabstop
26+
vim.o.shiftwidth = config.options.shiftwidth
27+
vim.o.nu = config.options.nu
28+
vim.o.relativenumber = config.options.relativenumber
29+
vim.o.clipboard = config.options.clipboard
30+
vim.o.inccommand = config.options.inccommand
31+
vim.o.laststatus = config.options.laststatus
32+
vim.o.wrap = config.options.wrap
33+
vim.o.undofile = config.options.undofile
34+
vim.o.whichwrap = config.options.undofile
35+
36+
return M

plugin/basics.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)