mirror of
https://github.com/KevinMidboe/linguist.git
synced 2026-02-11 10:49:33 +00:00
Grammar update
This commit is contained in:
32
vendor/grammars/haskell.tmbundle/Commands/Infix Function Call from Selection : Word.tmCommand
vendored
Normal file
32
vendor/grammars/haskell.tmbundle/Commands/Infix Function Call from Selection : Word.tmCommand
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
<?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>#!/bin/bash
|
||||
|
||||
NAME="$(cat)"
|
||||
if [[ -z "$NAME" ]]; then
|
||||
NAME="\$1"
|
||||
fi
|
||||
|
||||
echo "\`$NAME\`\$0"
|
||||
</string>
|
||||
<key>fallbackInput</key>
|
||||
<string>word</string>
|
||||
<key>input</key>
|
||||
<string>selection</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>^'</string>
|
||||
<key>name</key>
|
||||
<string>Infix Function Call From Word / Selection</string>
|
||||
<key>output</key>
|
||||
<string>insertAsSnippet</string>
|
||||
<key>scope</key>
|
||||
<string>source.haskell</string>
|
||||
<key>uuid</key>
|
||||
<string>FA4AA254-EB7D-4B43-AC67-066AA9E8E8D9</string>
|
||||
</dict>
|
||||
</plist>
|
||||
Reference in New Issue
Block a user