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 endsnippet
snippet ifmain snippet ifmain
def main(): def $1():
"""$1""" """$2"""
return return
if __name__ == '__main__': if __name__ == '__main__':
main() $1()
endsnippet endsnippet
snippet logger snippet logger

Loading…
Cancel
Save