mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Grammar update
This commit is contained in:
55
vendor/grammars/haskell.tmbundle/Commands/Run.plist
vendored
Normal file
55
vendor/grammars/haskell.tmbundle/Commands/Run.plist
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
<?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>saveModifiedFiles</string>
|
||||
<key>command</key>
|
||||
<string>#!/usr/bin/env ruby18 -wKU
|
||||
require "#{ENV["TM_SUPPORT_PATH"]}/lib/tm/save_current_document"
|
||||
require "#{ENV["TM_SUPPORT_PATH"]}/lib/tm/executor"
|
||||
require "#{ENV["TM_SUPPORT_PATH"]}/lib/escape"
|
||||
|
||||
TextMate.save_if_untitled('hs')
|
||||
|
||||
haskell = e_sh(ENV['TM_HASKELL'] || 'runhaskell')
|
||||
TextMate::Executor.run(haskell, ENV['TM_FILEPATH'])
|
||||
</string>
|
||||
<key>input</key>
|
||||
<string>document</string>
|
||||
<key>inputFormat</key>
|
||||
<string>text</string>
|
||||
<key>keyEquivalent</key>
|
||||
<string>@r</string>
|
||||
<key>name</key>
|
||||
<string>Run</string>
|
||||
<key>outputCaret</key>
|
||||
<string>afterOutput</string>
|
||||
<key>outputFormat</key>
|
||||
<string>html</string>
|
||||
<key>outputLocation</key>
|
||||
<string>newWindow</string>
|
||||
<key>requiredCommands</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>command</key>
|
||||
<string>runhaskell</string>
|
||||
<key>locations</key>
|
||||
<array>
|
||||
<string>/opt/local/bin/runhugs</string>
|
||||
<string>/usr/local/bin/runhaskell</string>
|
||||
</array>
|
||||
<key>variable</key>
|
||||
<string>TM_HASKELL</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>scope</key>
|
||||
<string>source.haskell</string>
|
||||
<key>semanticClass</key>
|
||||
<string>process.run.script.haskell</string>
|
||||
<key>uuid</key>
|
||||
<string>3B083BE7-9812-4F06-A758-CCAD9514E797</string>
|
||||
<key>version</key>
|
||||
<integer>2</integer>
|
||||
</dict>
|
||||
</plist>
|
||||
Reference in New Issue
Block a user