diff options
| author | Anton Bobov <anton@bobov.name> | 2025-12-25 14:28:43 +0500 |
|---|---|---|
| committer | Anton Bobov <anton@bobov.name> | 2025-12-25 14:28:50 +0500 |
| commit | a55a64a8462a99fcd283743343184f669d9c3520 (patch) | |
| tree | 1a2e4cc578ca2afc2b8ca4fad3cfa488ae8f1b8b /files/.vim/UltiSnips | |
| parent | d7f83de7eb30c82b8a8c97030e6d7c76788f02b5 (diff) | |
vim: add argc template and snippet
Diffstat (limited to 'files/.vim/UltiSnips')
| -rw-r--r-- | files/.vim/UltiSnips/sh.snippets | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/files/.vim/UltiSnips/sh.snippets b/files/.vim/UltiSnips/sh.snippets index f0df521..d9087eb 100644 --- a/files/.vim/UltiSnips/sh.snippets +++ b/files/.vim/UltiSnips/sh.snippets @@ -78,3 +78,14 @@ main() { main "$@" endsnippet + +snippet argc_snip "new argc template" +# @describe +# Specification: https://github.com/sigoden/argc/blob/main/docs/specification.md + +main() { + $0 +} + +eval "$(argc --argc-eval "$0" "$@")" +endsnippet |
