Add operatornotify snippet.
This commit is contained in:
parent
1b15bdc381
commit
1d48427f72
1 changed files with 9 additions and 0 deletions
9
voussoir/operatornotify_mainlog.sublime-snippet
Normal file
9
voussoir/operatornotify_mainlog.sublime-snippet
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<snippet>
|
||||||
|
<content><![CDATA[
|
||||||
|
from voussoirkit import operatornotify
|
||||||
|
(notify_context, argv) = operatornotify.main_log_context(argv, subject='$1 warnings')
|
||||||
|
with notify_context:
|
||||||
|
]]></content>
|
||||||
|
<tabTrigger>operatornotify_mainlog</tabTrigger>
|
||||||
|
<scope>source.python</scope>
|
||||||
|
</snippet>
|
Loading…
Reference in a new issue