Skip to content
This repository was archived by the owner on Feb 20, 2022. It is now read-only.

Commit dc4f8b3

Browse files
committed
fix: tmLanguage => tmTheme for themes
1 parent fb03277 commit dc4f8b3

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

TODO

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Python and Cython Syntax Highlighters ##
44
## ===================================== ##
55
## ##
6-
## Version: 2.0.00.051 (20141007) ##
6+
## Version: 2.0.00.052 (20141007) ##
77
## File: TODO ##
88
## ##
99
## For more information about the project, please visit ##
@@ -150,25 +150,25 @@ TODO:
150150

151151
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
152152
# 18
153-
- file: src/convert.py
154-
line: 141
155-
note: |
156-
Add "Automatically Generated, Don't Change" label to files
157-
158-
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
159-
# 19
160153
- file: etc/archive/to_css.py
161154
line: 1
162155
note: |
163156
Add this functionality src.convert.Theme
164157

165158
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
166-
# 20
159+
# 19
167160
- file: etc/archive/to_css.py
168161
line: 5
169162
note: |
170163
decide if we need `word-wrap: break-word;` or not?
171164

165+
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
166+
# 20
167+
- file: src/convert.py
168+
line: 141
169+
note: |
170+
Add "Automatically Generated, Don't Change" label to files
171+
172172

173173

174174
#----------------------------- 4 POSTS IN 4 FILES -----------------------------#

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.00.051 (20141007)
1+
2.0.00.052 (20141007)

src/convert.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
## Python and Cython Syntax Highlighters ##
55
## ===================================== ##
66
## ##
7-
## Version: 2.0.00.049 (20141007) ##
7+
## Version: 2.0.00.052 (20141007) ##
88
## File: src/convert.py ##
99
## ##
1010
## For more information about the project, please visit ##
@@ -139,7 +139,7 @@ def __init__(self, name,
139139

140140
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
141141
# TODO: Add "Automatically Generated, Don't Change" label to files
142-
def write(self, kind):
142+
def write(self, kind, extension):
143143
# If write comments-tmpreferences too
144144
comments = self._comments
145145
if comments:
@@ -153,7 +153,7 @@ def write(self, kind):
153153
real_path = expanduser(file_path)
154154
makedirs(real_path, exist_ok=True)
155155
# Create full path to file
156-
full_path = join(real_path, file_name + LANG_EXT)
156+
full_path = join(real_path, file_name + extension)
157157
# Write out the property-list file
158158
with open(full_path, 'w+b') as file:
159159
plistlib.writePlist(definition, file)
@@ -199,7 +199,7 @@ def from_dict(self, definition):
199199
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
200200
def write(self):
201201
# Call parent's method
202-
super().write('Syntax')
202+
super().write('Syntax', LANG_EXT)
203203

204204

205205

@@ -224,7 +224,7 @@ def from_dict(self, definition):
224224
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
225225
def write(self, css=False):
226226
# Call parent's method
227-
super().write('Style')
227+
super().write('Style', THEME_EXT)
228228
# If CSS output needed
229229
if css:
230230
pass
File renamed without changes.

0 commit comments

Comments
 (0)