Normalize sublime snippets by removing comments, indenting.

This commit is contained in:
voussoir 2021-05-06 18:37:20 -07:00
parent f5df7b4dda
commit 1b15bdc381
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB
19 changed files with 20 additions and 85 deletions

View file

@ -7,8 +7,5 @@ if (response.meta.status !== 200)
}
]]></content>
<tabTrigger>alertresponse</tabTrigger>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
<description>alertresponse if status!=200</description>
</snippet>

View file

@ -7,8 +7,5 @@ if (! response.meta.json_ok)
}
]]></content>
<tabTrigger>alertresponse2</tabTrigger>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
<description>alertresponse if not json_ok</description>
</snippet>

View file

@ -29,8 +29,5 @@ if __name__ == '__main__':
]]></content>
<tabTrigger>argparse</tabTrigger>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.python</scope>
</snippet>

View file

@ -31,8 +31,5 @@ if __name__ == '__main__':
]]></content>
<tabTrigger>argparse_multi</tabTrigger>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.python</scope>
</snippet>

View file

@ -8,8 +8,5 @@ p_$1.add_argument('-b', '--boolkwarg', dest='boolkwarg', action='store_true')
p_$1.set_defaults(func=$1_argparse)
]]></content>
<tabTrigger>subparser</tabTrigger>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.python</scope>
</snippet>

View file

@ -8,8 +8,5 @@ if __name__ == '__main__':
]]></content>
<tabTrigger>defmain</tabTrigger>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.python</scope>
</snippet>

View file

@ -4,8 +4,5 @@
####################################################################################################
]]></content>
<tabTrigger>hhl</tabTrigger>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
<description>hash header L (hhl)</description>
</snippet>

View file

@ -5,8 +5,5 @@
####################################################################################################
]]></content>
<tabTrigger>hh3</tabTrigger>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
<description>hash header 3 (hh3)</description>
</snippet>

View file

@ -3,8 +3,5 @@
#$1###################################################################################################
]]></content>
<tabTrigger>hh1</tabTrigger>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
<description>hash header 1 (hh1)</description>
</snippet>

View file

@ -5,8 +5,5 @@ if __name__ == '__main__':
]]></content>
<tabTrigger>ifmain</tabTrigger>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.python</scope>
</snippet>

View file

@ -6,9 +6,5 @@ def listget(l, index, default=None):
except IndexError:
return default
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
<tabTrigger>listget</tabTrigger>
</snippet>

View file

@ -2,10 +2,6 @@
<content><![CDATA[
raise NotImplementedError
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
<tabTrigger>ni</tabTrigger>
<description>raise NotImplementedError</description>
</snippet>

View file

@ -2,9 +2,5 @@
<content><![CDATA[
System.out.println($1);$0
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
<tabTrigger>sysout</tabTrigger>
</snippet>

View file

@ -20,8 +20,4 @@
self.t.mainloop()
]]></content>
<tabTrigger>tkgeometry</tabTrigger>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>

View file

@ -36,8 +36,4 @@ class ScrollingFrame:
self.frame_primary.grid(*args, **kwargs)
]]></content>
<tabTrigger>tkscrollframe</tabTrigger>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>

View file

@ -28,8 +28,4 @@ class Application:
self.t.mainloop()
]]></content>
<tabTrigger>tktemplate</tabTrigger>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>

View file

@ -2,9 +2,5 @@
<content><![CDATA[
utf-8
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
<tabTrigger>uu</tabTrigger>
</snippet>

View file

@ -9,8 +9,5 @@ def main(argv):
]]></content>
<tabTrigger>vlogging</tabTrigger>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.python</scope>
</snippet>

View file

@ -29,8 +29,4 @@ document.addEventListener("DOMContentLoaded", on_pageload);
]]></content>
<tabTrigger>webpage</tabTrigger>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>