Add operatornotify snippet.

This commit is contained in:
voussoir 2021-05-06 19:32:19 -07:00
parent 1b15bdc381
commit 1d48427f72
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View 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>