mirror of
https://github.com/kennethreitz-archive/kJS.tmbundle.git
synced 2026-06-05 23:50:19 +00:00
de7b84b470
git-svn-id: http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript.tmbundle@10173 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
27 lines
728 B
Plaintext
27 lines
728 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>cat <<SNIPPET
|
|
function ${TM_SELECTED_TEXT:-$TM_CURRENT_WORD}(\$1){\$0};
|
|
SNIPPET</string>
|
|
<key>fallbackInput</key>
|
|
<string>word</string>
|
|
<key>input</key>
|
|
<string>selection</string>
|
|
<key>keyEquivalent</key>
|
|
<string>$
|
|
</string>
|
|
<key>name</key>
|
|
<string>New Function</string>
|
|
<key>output</key>
|
|
<string>insertAsSnippet</string>
|
|
<key>scope</key>
|
|
<string>source.js</string>
|
|
<key>uuid</key>
|
|
<string>73951799-AC15-40A6-81DB-EC051AB4A033</string>
|
|
</dict>
|
|
</plist>
|