Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Switch to using requiredCommands.

  • Loading branch information...
commit 002541a806f3ed37e2df0017ead60ed2122a459c 1 parent a729bde
@infininight infininight authored
Showing with 27 additions and 5 deletions.
  1. +27 −5 Commands/Reformat Quoted Text.plist
View
32 Commands/Reformat Quoted Text.plist
@@ -1,26 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!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>require_cmd par
+ <string>#!/usr/bin/env bash
-PARINIT="rTbgqR B=.,?!_A_a Q=_s&gt;|+" par</string>
+PARINIT="rTbgqR B=.,?!_A_a Q=_s&gt;|+" "${TM_PAR:-par}"</string>
<key>fallbackInput</key>
<string>scope</string>
<key>input</key>
<string>selection</string>
+ <key>inputFormat</key>
+ <string>text</string>
<key>keyEquivalent</key>
<string>^q</string>
<key>name</key>
<string>Reformat Quoted Text</string>
- <key>output</key>
- <string>replaceSelectedText</string>
+ <key>outputCaret</key>
+ <string>heuristic</string>
+ <key>outputFormat</key>
+ <string>text</string>
+ <key>outputLocation</key>
+ <string>replaceInput</string>
+ <key>requiredCommands</key>
+ <array>
+ <dict>
+ <key>command</key>
+ <string>par</string>
+ <key>locations</key>
+ <array>
+ <string>/opt/local/bin/par</string>
+ <string>/usr/local/bin/par</string>
+ </array>
+ <key>variable</key>
+ <string>TM_PAR</string>
+ </dict>
+ </array>
<key>scope</key>
<string>markup.quote</string>
<key>uuid</key>
<string>65C64E73-D308-4251-9837-A3A040D5704B</string>
+ <key>version</key>
+ <integer>2</integer>
</dict>
</plist>
Please sign in to comment.
Something went wrong with that request. Please try again.