add the snippets to the repo

This commit is contained in:
2025-07-19 20:52:05 +02:00
parent ae0286e4c8
commit 0a3ea56838
22 changed files with 1735 additions and 1 deletions
+28
View File
@@ -0,0 +1,28 @@
snippet main
def main():
${0:$VISUAL}
if __name__ == '__main__':
main()
snippet mainargs
from sys import argv
def main( me: str, args: list[str] ):
${0:$VISUAL}
if __name__ == '__main__':
main(argv[0], argv[1:])
snippet tag
$1 = '$1'
snippet assign
self.$1 = $1
snippet ignore
#pyright: ignore
snippet ''' "" Ai
'''
$0
'''