Skip to content

Commit a44ed47

Browse files
jetzlpil
authored andcommitted
Adjust: use python3 default, same as snippets/python.snippets
1 parent 1648b3a commit a44ed47

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

UltiSnips/python.snippets

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,19 @@ priority -50
55
###########################################################################
66

77
#! header
8-
snippet #! "#!/usr/bin/env python" b
9-
#!/usr/bin/env python
8+
snippet #! "#!/usr/bin/env python3" b
9+
#!/usr/bin/env python3
10+
$0
11+
endsnippet
12+
13+
snippet #!2 "#!/usr/bin/env python2" b
14+
#!/usr/bin/env python2
15+
# -*- coding: utf-8 -*-
16+
$0
17+
endsnippet
18+
19+
snippet #!3 "#!/usr/bin/env python3" b
20+
#!/usr/bin/env python3
1021
$0
1122
endsnippet
1223

0 commit comments

Comments
 (0)