PageRenderTime 53ms CodeModel.GetById 50ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/misc/Factor.tmbundle/Commands/Reload in Listener.tmCommand

http://github.com/abeaumont/factor
Unknown | 26 lines | 25 code | 1 blank | 0 comment | 0 complexity | a5feb66a7fc934a166274f7b46d415f9 MD5 | raw file
 1<?xml version="1.0" encoding="UTF-8"?>
 2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 3<plist version="1.0">
 4<dict>
 5	<key>beforeRunningCommand</key>
 6	<string>nop</string>
 7	<key>command</key>
 8	<string>#!/usr/bin/env ruby
 9
10require "#{ENV["TM_BUNDLE_SUPPORT"]}/lib/tm_factor"
11doc = STDIN.read
12factor_run(%Q(USE: vocabs.loader\n "#{doc[/\bIN:\s(\S+)/, 1]}" reload))</string>
13	<key>input</key>
14	<string>document</string>
15	<key>keyEquivalent</key>
16	<string>^r</string>
17	<key>name</key>
18	<string>Reload in Listener</string>
19	<key>output</key>
20	<string>discard</string>
21	<key>scope</key>
22	<string>source.factor</string>
23	<key>uuid</key>
24	<string>8088D204-FFD7-4384-8FDD-A01536FFD0E7</string>
25</dict>
26</plist>