1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Add Ultisnips snippets

This commit is contained in:
jdhao
2019-04-27 00:16:43 +08:00
parent fcbbe908f6
commit deb3266920
3 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
snippet head "Python source file header" b
"""
Description: $1
Author: Jie-dong Hao
Date: `!v strftime("%Y-%m-%d %H:%M:%S%z")`
Update: `!v strftime("%Y-%m-%d %H:%M:%S%z")`
"""
$0
endsnippet
snippet print "Print value of some variable"
print("$1".format($2))
$0
endsnippet