From 3348f2e49bc6d8aedbe66f6fd6525aba27040ddd Mon Sep 17 00:00:00 2001 From: yannickreiss Date: Sun, 15 Sep 2024 20:38:53 +0200 Subject: [PATCH] Hello world snippet for python --- UltiSnips/python.snippets | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/UltiSnips/python.snippets b/UltiSnips/python.snippets index 33f925a..42f1c8a 100644 --- a/UltiSnips/python.snippets +++ b/UltiSnips/python.snippets @@ -1,3 +1,16 @@ +snippet helloworld "Hello world example" b +""" +File: `!p snip.rv = fn` +Author: Nicki +Created on: `date` +Description: Hello world python example +""" + +if __name__ == "__main__": + print("Hello world!") +$0 +endsnippet + snippet docmodule "Documentation for modules" A """ File: `!p snip.rv = fn`