Skip to content

Commit b45aa5d

Browse files
JackSteeleinfininight
authored andcommitted
Update Reformat Document Command to python3
1 parent fccf0af commit b45aa5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Commands/Reformat Document : Selection.tmCommand

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<key>beforeRunningCommand</key>
66
<string>nop</string>
77
<key>command</key>
8-
<string>#!/usr/bin/env python
8+
<string>#!/usr/bin/env python3
99
1010
import os
1111
import sys
@@ -22,7 +22,7 @@ if os.environ["TM_SOFT_TABS"] == 'NO':
2222
else:
2323
opts.indent_size = int(os.environ["TM_TAB_SIZE"])
2424
25-
print jsbeautifier.beautify_file('-', opts)
25+
print(jsbeautifier.beautify_file('-', opts))
2626
</string>
2727
<key>input</key>
2828
<string>selection</string>

0 commit comments

Comments
 (0)