File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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>"
Original file line number Diff line number Diff line change 1+ /plugin /reload.vim
Original file line number Diff line number Diff line change 1+ ## tiny.boilerplate
2+ a tiny boilerplate for a neovim plugin
Original file line number Diff line number Diff line change 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:
Original file line number Diff line number Diff line change 1+ --[[
2+ the smallest pair plugin in the universe
3+ --]]
4+
5+ local M = {}
6+
7+ local config = {
8+ enabled = true ,
9+ setup_indentexpr = true ,
10+ }
11+
12+ function M .actualsetup ()
13+ vim .api .nvim_create_autocmd (" FileType" , {
14+ pattern = { " *" },
15+ callback = function (args )
16+ require (' nvim-treesitter' ).install ({ vim .bo [args .buf ].filetype })
17+
18+ pcall (vim .treesitter .start , args .buf )
19+ if config .setup_indentexpr then
20+ vim .bo .indentexpr = " v:lua.require'nvim-treesitter'.indentexpr()"
21+ end
22+ end ,
23+ })
24+ end
25+
26+ function M .setup (opts )
27+ if opts then
28+ config = vim .tbl_deep_extend (" force" , config , opts )
29+ end
30+
31+ if config .enabled then
32+ M .actualsetup ()
33+ end
34+ end
35+
36+ return M
Original file line number Diff line number Diff line change 1+ indent_type = " Spaces"
2+ indent_width = 2
3+ column_width = 100
4+ quote_style = " AutoPreferDouble"
5+ no_call_parentheses = false
You can’t perform that action at this time.
0 commit comments