Browse Source

Updated snippet for def main

master
Julio Biason 4 years ago
parent
commit
37f002ddd0
  1. 6
      nvim/UltiSnips/python.snippets

6
nvim/UltiSnips/python.snippets

@ -7,12 +7,12 @@ snippet date
endsnippet
snippet ifmain
def main():
"""$1"""
def $1():
"""$2"""
return
if __name__ == '__main__':
main()
$1()
endsnippet
snippet logger

Loading…
Cancel
Save