Skip to content

Commit 992be43

Browse files
committedFeb 24, 2017
atom-sync: Recognize *.kv, *.tac, *.Snakefile as Python files
1 parent 38a783c commit 992be43

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed
 

Diff for: ‎grammars/MagicPython.cson

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ fileTypes: [
1515
"gyp"
1616
"gypi"
1717
"wsgi"
18+
"kv"
19+
"Snakefile"
20+
"tac"
1821
]
1922
first_line_match: "^#![ \\t]*/.*\\bpython[\\d\\.]*\\b"
2023
firstLineMatch: "^#![ \\t]*/.*\\bpython[\\d\\.]*\\b"

Diff for: ‎grammars/MagicPython.tmLanguage

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
<string>gyp</string>
2323
<string>gypi</string>
2424
<string>wsgi</string>
25+
<string>kv</string>
26+
<string>Snakefile</string>
27+
<string>tac</string>
2528
</array>
2629
<key>first_line_match</key>
2730
<string>^#![ \t]*/.*\bpython[\d\.]*\b</string>

Diff for: ‎grammars/src/MagicPython.syntax.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ scopeName: source.python
44
# NOTE: remember to update package.json with VSCode file types.
55
fileTypes: [py, py3, rpy, pyw, cpy, pyi,
66
SConstruct, Sconstruct, sconstruct, SConscript,
7-
gyp, gypi, wsgi]
7+
gyp, gypi, wsgi, kv, Snakefile, tac]
88
first_line_match: ^#![ \t]*/.*\bpython[\d\.]*\b
99
firstLineMatch: ^#![ \t]*/.*\bpython[\d\.]*\b
1010
uuid: 742deb57-6e38-4192-bed6-410746efd85d

0 commit comments

Comments
 (0)
Please sign in to comment.