28 lines
806 B
Plaintext
28 lines
806 B
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>beforeRunningCommand</key>
|
|
<string>nop</string>
|
|
<key>command</key>
|
|
<string>#!/usr/bin/env ruby
|
|
|
|
require "#{ENV["TM_BUNDLE_SUPPORT"]}/lib/tm_factor"
|
|
|
|
doc = STDIN.read
|
|
puts factor_eval(%Q(#{doc_using_statements(doc)} USE: inference\n [ #{ENV["TM_SELECTED_TEXT"]} ] infer.))</string>
|
|
<key>fallbackInput</key>
|
|
<string>word</string>
|
|
<key>input</key>
|
|
<string>document</string>
|
|
<key>name</key>
|
|
<string>Infer Effect of Selection</string>
|
|
<key>output</key>
|
|
<string>showAsTooltip</string>
|
|
<key>scope</key>
|
|
<string>source.factor</string>
|
|
<key>uuid</key>
|
|
<string>B619FCC0-2DF2-4657-82A8-0E5676A10254</string>
|
|
</dict>
|
|
</plist>
|