From 2f50aa460ab40cbcf4a7a6e40d93575b3084851f Mon Sep 17 00:00:00 2001 From: Arfon Smith Date: Wed, 24 Aug 2016 09:50:12 -0700 Subject: [PATCH] Removing nuked grammars --- ...ction Call from Selection : Word.tmCommand | 32 - .../Commands/Load in GHCi.tmCommand | 53 -- .../Commands/Lookup on Hoogle.tmCommand | 25 - .../Commands/New Module.tmCommand | 34 - .../haskell.tmbundle/Commands/Run.plist | 55 -- .../Commands/Show Type.tmCommand | 24 - .../Preferences/Comments.tmPreferences | 36 - .../Preferences/Indentation.tmPreferences | 23 - .../Preferences/Symbol List.tmPreferences | 17 - .../Preferences/Typing Pairs.plist | 38 - vendor/grammars/haskell.tmbundle/README.mdown | 20 - .../Snippets/Definition.tmSnippet | 16 - .../Snippets/Function.tmSnippet | 17 - .../haskell.tmbundle/Snippets/Guard.tmSnippet | 16 - .../Snippets/Haddock Postfix.tmSnippet | 16 - .../Snippets/Haddock Prefix.tmSnippet | 16 - .../Snippets/Hashbang.tmSnippet | 17 - .../Snippets/Lambda Expression.tmSnippet | 16 - .../Snippets/Left Arrow.tmSnippet | 18 - .../Snippets/List Comprehension.tmSnippet | 16 - .../haskell.tmbundle/Snippets/Main.tmSnippet | 20 - .../Snippets/Right Arrow.tmSnippet | 18 - .../Snippets/Type Constraint.tmSnippet | 16 - .../Snippets/Type Sequence.tmSnippet | 16 - .../Snippets/Type Signature.tmSnippet | 16 - .../Snippets/case _ of _.tmSnippet | 18 - .../Snippets/class _.tmSnippet | 17 - .../Snippets/data _.tmSnippet | 16 - .../Snippets/deriving _.tmSnippet | 16 - .../haskell.tmbundle/Snippets/do _.tmSnippet | 17 - .../Snippets/if _ then _ else _.tmSnippet | 18 - .../Snippets/import _ hiding _.tmSnippet | 16 - .../Snippets/import _.tmSnippet | 16 - .../Snippets/import qualified _.tmSnippet | 16 - .../Snippets/instance _.tmSnippet | 17 - .../haskell.tmbundle/Snippets/let _.tmSnippet | 18 - .../Snippets/newtype _.tmSnippet | 16 - .../Snippets/type _.tmSnippet | 16 - .../Snippets/where _.tmSnippet | 17 - .../haskell.tmbundle/Support/bin/haskelltype | 222 ------ .../haskell.tmbundle/Syntaxes/Haskell.plist | 711 ------------------ .../Syntaxes/Literate Haskell.plist | 92 --- vendor/grammars/haskell.tmbundle/info.plist | 58 -- .../sublime_man_page_support/.gitignore | 2 - .../grammars/sublime_man_page_support/LICENSE | 20 - .../Main.sublime-menu | 23 - .../ManPage.sublime-build | 4 - .../ManPage.sublime-commands | 10 - .../sublime_man_page_support/README.md | 10 - .../groff-enhancements.sublime-snippet | 201 ----- .../man-groff.JSON-tmLanguage | 85 --- .../man-groff.tmLanguage | 184 ----- .../man-preview.JSON-tmLanguage | 32 - .../man-preview.tmLanguage | 88 --- .../sublime_man_page_support/new_page.py | 59 -- 55 files changed, 2626 deletions(-) delete mode 100644 vendor/grammars/haskell.tmbundle/Commands/Infix Function Call from Selection : Word.tmCommand delete mode 100644 vendor/grammars/haskell.tmbundle/Commands/Load in GHCi.tmCommand delete mode 100644 vendor/grammars/haskell.tmbundle/Commands/Lookup on Hoogle.tmCommand delete mode 100644 vendor/grammars/haskell.tmbundle/Commands/New Module.tmCommand delete mode 100644 vendor/grammars/haskell.tmbundle/Commands/Run.plist delete mode 100644 vendor/grammars/haskell.tmbundle/Commands/Show Type.tmCommand delete mode 100644 vendor/grammars/haskell.tmbundle/Preferences/Comments.tmPreferences delete mode 100644 vendor/grammars/haskell.tmbundle/Preferences/Indentation.tmPreferences delete mode 100644 vendor/grammars/haskell.tmbundle/Preferences/Symbol List.tmPreferences delete mode 100644 vendor/grammars/haskell.tmbundle/Preferences/Typing Pairs.plist delete mode 100644 vendor/grammars/haskell.tmbundle/README.mdown delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/Definition.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/Function.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/Guard.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/Haddock Postfix.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/Haddock Prefix.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/Hashbang.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/Lambda Expression.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/Left Arrow.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/List Comprehension.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/Main.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/Right Arrow.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/Type Constraint.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/Type Sequence.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/Type Signature.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/case _ of _.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/class _.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/data _.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/deriving _.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/do _.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/if _ then _ else _.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/import _ hiding _.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/import _.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/import qualified _.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/instance _.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/let _.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/newtype _.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/type _.tmSnippet delete mode 100644 vendor/grammars/haskell.tmbundle/Snippets/where _.tmSnippet delete mode 100755 vendor/grammars/haskell.tmbundle/Support/bin/haskelltype delete mode 100644 vendor/grammars/haskell.tmbundle/Syntaxes/Haskell.plist delete mode 100644 vendor/grammars/haskell.tmbundle/Syntaxes/Literate Haskell.plist delete mode 100644 vendor/grammars/haskell.tmbundle/info.plist delete mode 100644 vendor/grammars/sublime_man_page_support/.gitignore delete mode 100644 vendor/grammars/sublime_man_page_support/LICENSE delete mode 100644 vendor/grammars/sublime_man_page_support/Main.sublime-menu delete mode 100644 vendor/grammars/sublime_man_page_support/ManPage.sublime-build delete mode 100644 vendor/grammars/sublime_man_page_support/ManPage.sublime-commands delete mode 100644 vendor/grammars/sublime_man_page_support/README.md delete mode 100644 vendor/grammars/sublime_man_page_support/groff-enhancements.sublime-snippet delete mode 100644 vendor/grammars/sublime_man_page_support/man-groff.JSON-tmLanguage delete mode 100644 vendor/grammars/sublime_man_page_support/man-groff.tmLanguage delete mode 100644 vendor/grammars/sublime_man_page_support/man-preview.JSON-tmLanguage delete mode 100644 vendor/grammars/sublime_man_page_support/man-preview.tmLanguage delete mode 100644 vendor/grammars/sublime_man_page_support/new_page.py diff --git a/vendor/grammars/haskell.tmbundle/Commands/Infix Function Call from Selection : Word.tmCommand b/vendor/grammars/haskell.tmbundle/Commands/Infix Function Call from Selection : Word.tmCommand deleted file mode 100644 index a5fc1784..00000000 --- a/vendor/grammars/haskell.tmbundle/Commands/Infix Function Call from Selection : Word.tmCommand +++ /dev/null @@ -1,32 +0,0 @@ - - - - - beforeRunningCommand - nop - command - #!/bin/bash - -NAME="$(cat)" -if [[ -z "$NAME" ]]; then - NAME="\$1" -fi - -echo "\`$NAME\`\$0" - - fallbackInput - word - input - selection - keyEquivalent - ^' - name - Infix Function Call From Word / Selection - output - insertAsSnippet - scope - source.haskell - uuid - FA4AA254-EB7D-4B43-AC67-066AA9E8E8D9 - - diff --git a/vendor/grammars/haskell.tmbundle/Commands/Load in GHCi.tmCommand b/vendor/grammars/haskell.tmbundle/Commands/Load in GHCi.tmCommand deleted file mode 100644 index 5a865365..00000000 --- a/vendor/grammars/haskell.tmbundle/Commands/Load in GHCi.tmCommand +++ /dev/null @@ -1,53 +0,0 @@ - - - - - beforeRunningCommand - nop - command - #!/bin/bash - -THASKELL=${TM_HASKELL:-ghci} - -esc () { -STR="$1" ruby18 <<"RUBY" - str = ENV['STR'] - str = str.gsub(/'/, "'\\\\''") - str = str.gsub(/[\\"]/, '\\\\\\0') - print "'#{str}'" -RUBY -} - -osascript <<- APPLESCRIPT -tell app "Terminal" - launch - activate - do script "clear; cd $(esc "${TM_DIRECTORY}"); ${THASKELL} $(esc "${TM_FILEPATH}")" - set position of first window to {100, 100} -end tell -APPLESCRIPT - - input - none - inputFormat - text - keyEquivalent - @R - name - Load in GHCi - outputCaret - afterOutput - outputFormat - text - outputLocation - toolTip - scope - source.haskell - semanticClass - process.external.run.haskell - uuid - 2242C46C-153E-4EEB-B80B-A5398559D759 - version - 2 - - diff --git a/vendor/grammars/haskell.tmbundle/Commands/Lookup on Hoogle.tmCommand b/vendor/grammars/haskell.tmbundle/Commands/Lookup on Hoogle.tmCommand deleted file mode 100644 index da04c3f9..00000000 --- a/vendor/grammars/haskell.tmbundle/Commands/Lookup on Hoogle.tmCommand +++ /dev/null @@ -1,25 +0,0 @@ - - - - - beforeRunningCommand - nop - command - #!/bin/bash -echo "<meta http-equiv=\"refresh\" content=\"0; http://haskell.org/hoogle/?q=$(cat)\">" - fallbackInput - word - input - selection - keyEquivalent - ^H - name - Lookup on Hoogle - output - showAsHTML - scope - source.haskell - uuid - 50D814AE-D850-4C97-AF3E-1FDE4366C6A3 - - diff --git a/vendor/grammars/haskell.tmbundle/Commands/New Module.tmCommand b/vendor/grammars/haskell.tmbundle/Commands/New Module.tmCommand deleted file mode 100644 index cc483847..00000000 --- a/vendor/grammars/haskell.tmbundle/Commands/New Module.tmCommand +++ /dev/null @@ -1,34 +0,0 @@ - - - - - beforeRunningCommand - nop - command - #!/bin/bash - -NAME=${TM_FILENAME%.hs} -if [[ -z "$NAME" ]]; then - NAME="Main" -fi - -cat <<SNIPPET -module \${1:$NAME} \${2/.+/( - /m}\${2:function}\${2/.+/ -) /m}where -\$0 -SNIPPET - input - none - name - module … - output - insertAsSnippet - scope - source.haskell - tabTrigger - mod - uuid - 156D0588-A61A-4419-9C71-6E47320A4DA5 - - diff --git a/vendor/grammars/haskell.tmbundle/Commands/Run.plist b/vendor/grammars/haskell.tmbundle/Commands/Run.plist deleted file mode 100644 index 7a3fc059..00000000 --- a/vendor/grammars/haskell.tmbundle/Commands/Run.plist +++ /dev/null @@ -1,55 +0,0 @@ - - - - - beforeRunningCommand - saveModifiedFiles - command - #!/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']) - - input - document - inputFormat - text - keyEquivalent - @r - name - Run - outputCaret - afterOutput - outputFormat - html - outputLocation - newWindow - requiredCommands - - - command - runhaskell - locations - - /opt/local/bin/runhugs - /usr/local/bin/runhaskell - - variable - TM_HASKELL - - - scope - source.haskell - semanticClass - process.run.script.haskell - uuid - 3B083BE7-9812-4F06-A758-CCAD9514E797 - version - 2 - - diff --git a/vendor/grammars/haskell.tmbundle/Commands/Show Type.tmCommand b/vendor/grammars/haskell.tmbundle/Commands/Show Type.tmCommand deleted file mode 100644 index 7ad9f337..00000000 --- a/vendor/grammars/haskell.tmbundle/Commands/Show Type.tmCommand +++ /dev/null @@ -1,24 +0,0 @@ - - - - - beforeRunningCommand - nop - command - haskelltype "$(cat)" - fallbackInput - word - input - selection - keyEquivalent - ^h - name - Show Type - output - showAsTooltip - scope - source.haskell - uuid - 6B723007-D4EE-476B-8282-76230C559D5A - - diff --git a/vendor/grammars/haskell.tmbundle/Preferences/Comments.tmPreferences b/vendor/grammars/haskell.tmbundle/Preferences/Comments.tmPreferences deleted file mode 100644 index 718c6e2d..00000000 --- a/vendor/grammars/haskell.tmbundle/Preferences/Comments.tmPreferences +++ /dev/null @@ -1,36 +0,0 @@ - - - - - name - Comments - scope - source.haskell - settings - - shellVariables - - - name - TM_COMMENT_START_2 - value - {- - - - name - TM_COMMENT_END_2 - value - -} - - - name - TM_COMMENT_START - value - -- - - - - uuid - E3994307-4D9E-44D6-832E-52C244F1CDF3 - - diff --git a/vendor/grammars/haskell.tmbundle/Preferences/Indentation.tmPreferences b/vendor/grammars/haskell.tmbundle/Preferences/Indentation.tmPreferences deleted file mode 100644 index afff2e9e..00000000 --- a/vendor/grammars/haskell.tmbundle/Preferences/Indentation.tmPreferences +++ /dev/null @@ -1,23 +0,0 @@ - - - - - name - Indentation - scope - source.haskell - settings - - decreaseIndentPattern - ^\s*$ - disableIndentCorrections - - increaseIndentPattern - ((^.*(=|\bdo|\bwhere|\bthen|\belse|\bof)\s*$)|(^.*\bif(?!.*\bthen\b.*\belse\b.*).*$)) - indentOnPaste - simple - - uuid - 39417FB9-B85C-4213-BB1D-C19BCDD4E487 - - diff --git a/vendor/grammars/haskell.tmbundle/Preferences/Symbol List.tmPreferences b/vendor/grammars/haskell.tmbundle/Preferences/Symbol List.tmPreferences deleted file mode 100644 index 3349a875..00000000 --- a/vendor/grammars/haskell.tmbundle/Preferences/Symbol List.tmPreferences +++ /dev/null @@ -1,17 +0,0 @@ - - - - - name - Symbol List - scope - source.haskell entity.name.function.infix - settings - - showInSymbolList - 0 - - uuid - 0C39B945-E2C0-4E43-8A5B-332F6FA73C67 - - diff --git a/vendor/grammars/haskell.tmbundle/Preferences/Typing Pairs.plist b/vendor/grammars/haskell.tmbundle/Preferences/Typing Pairs.plist deleted file mode 100644 index d9fff7d3..00000000 --- a/vendor/grammars/haskell.tmbundle/Preferences/Typing Pairs.plist +++ /dev/null @@ -1,38 +0,0 @@ - - - - - name - Typing Pairs - scope - source.haskell - comment - settings - - smartTypingPairs - - - " - " - - - { - } - - - [ - ] - - - ( - ) - - - ` - ` - - - - uuid - FBF9D932-D5CE-4EC4-9162-122E511C8627 - - diff --git a/vendor/grammars/haskell.tmbundle/README.mdown b/vendor/grammars/haskell.tmbundle/README.mdown deleted file mode 100644 index 32d8f85a..00000000 --- a/vendor/grammars/haskell.tmbundle/README.mdown +++ /dev/null @@ -1,20 +0,0 @@ -# Installation - -You can install this bundle in TextMate by opening the preferences and going to the bundles tab. After installation it will be automatically updated for you. - -# General - -* [Bundle Styleguide](http://kb.textmate.org/bundle_styleguide) — _before you make changes_ -* [Commit Styleguide](http://kb.textmate.org/commit_styleguide) — _before you send a pull request_ -* [Writing Bug Reports](http://kb.textmate.org/writing_bug_reports) — _before you report an issue_ - -# License - -If not otherwise specified (see below), files in this repository fall under the following license: - - Permission to copy, use, modify, sell and distribute this - software is granted. This software is provided "as is" without - express or implied warranty, and with no claim as to its - suitability for any purpose. - -An exception is made for files in readable text which contain their own license information, or files where an accompanying file exists (in the same directory) with a “-license” suffix added to the base-name name of the original file, and an extension of txt, html, or similar. For example “tidy” is accompanied by “tidy-license.txt”. \ No newline at end of file diff --git a/vendor/grammars/haskell.tmbundle/Snippets/Definition.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/Definition.tmSnippet deleted file mode 100644 index 78f19026..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/Definition.tmSnippet +++ /dev/null @@ -1,16 +0,0 @@ - - - - - content - ${1:name} ${2:pattern}${2/.+/ /}= ${0:definition} - name - Definition - scope - source.haskell - tabTrigger - = - uuid - 81886A7D-5EE8-438C-9FC8-6BA3B65E444A - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/Function.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/Function.tmSnippet deleted file mode 100644 index 1094af9d..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/Function.tmSnippet +++ /dev/null @@ -1,17 +0,0 @@ - - - - - content - ${1:name} :: ${2:Type} -${1} ${3:pattern}${3/.+/ /}${4/.+/= /}${4:definition} - name - Function - scope - source.haskell - tabTrigger - fun - uuid - A83076A6-EC6F-418F-B8F9-9AE952964242 - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/Guard.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/Guard.tmSnippet deleted file mode 100644 index ccf12269..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/Guard.tmSnippet +++ /dev/null @@ -1,16 +0,0 @@ - - - - - content - | ${1:predicate} = ${0:definition} - name - Guard - scope - source.haskell - comment - tabTrigger - | - uuid - BA1329DB-9437-4246-839A-48A49B48D31D - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/Haddock Postfix.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/Haddock Postfix.tmSnippet deleted file mode 100644 index 56e7e636..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/Haddock Postfix.tmSnippet +++ /dev/null @@ -1,16 +0,0 @@ - - - - - content - | ${0:documentation} - name - Haddock Postfix - scope - source.haskell comment.block - tabTrigger - | - uuid - 961E79B9-CC31-4843-BBE9-51F46598BC25 - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/Haddock Prefix.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/Haddock Prefix.tmSnippet deleted file mode 100644 index 0e1a35e8..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/Haddock Prefix.tmSnippet +++ /dev/null @@ -1,16 +0,0 @@ - - - - - content - ^ ${0:documentation} - name - Haddock Prefix - scope - source.haskell comment.block - tabTrigger - ^ - uuid - E0E613C1-0760-46BC-A51E-168E658904C5 - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/Hashbang.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/Hashbang.tmSnippet deleted file mode 100644 index 78ef4b3f..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/Hashbang.tmSnippet +++ /dev/null @@ -1,17 +0,0 @@ - - - - - content - #!/usr/bin/env ${1:runhaskell} - - name - #!/usr/bin/env… - scope - source.haskell - tabTrigger - #! - uuid - 54495635-CC26-4C14-A202-5C0CA4B078C2 - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/Lambda Expression.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/Lambda Expression.tmSnippet deleted file mode 100644 index 7cc131eb..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/Lambda Expression.tmSnippet +++ /dev/null @@ -1,16 +0,0 @@ - - - - - content - \\${1:pattern} -> ${0:expression} - name - Lambda Expression - scope - source.haskell - tabTrigger - \ - uuid - 0672CE3D-A796-44B1-AEF2-975C0FB27184 - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/Left Arrow.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/Left Arrow.tmSnippet deleted file mode 100644 index ab95d2e5..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/Left Arrow.tmSnippet +++ /dev/null @@ -1,18 +0,0 @@ - - - - - content - ${1:name} <- ${0:expression} - keyEquivalent - ^, - name - Left Arrow - scope - source.haskell - tabTrigger - < - uuid - 9EF1F854-442C-40B2-BED5-454A015AA26D - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/List Comprehension.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/List Comprehension.tmSnippet deleted file mode 100644 index 0ae12d1d..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/List Comprehension.tmSnippet +++ /dev/null @@ -1,16 +0,0 @@ - - - - - content - [ ${1:expression} | ${2:name} <- ${3:expression}${4/.+/, /}${4:condition} - name - List Comprehension - scope - source.haskell constant.language.nil - tabTrigger - [ - uuid - C721BD84-71FA-423F-8460-2CED4954137F - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/Main.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/Main.tmSnippet deleted file mode 100644 index 6a636064..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/Main.tmSnippet +++ /dev/null @@ -1,20 +0,0 @@ - - - - - content - module Main where - -main :: IO () -main = ${0:putStrLn "Hello World"} - - name - Main - scope - source.haskell - tabTrigger - main - uuid - A3A65891-D126-4D2D-9E6B-E20ADE2EAA88 - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/Right Arrow.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/Right Arrow.tmSnippet deleted file mode 100644 index 984cc37b..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/Right Arrow.tmSnippet +++ /dev/null @@ -1,18 +0,0 @@ - - - - - content - ${1:expression} -> ${0:expression} - keyEquivalent - ^. - name - Right Arrow - scope - source.haskell - tabTrigger - > - uuid - BAF52ED4-6A5B-4260-B5BC-93D2012200C8 - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/Type Constraint.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/Type Constraint.tmSnippet deleted file mode 100644 index ec100d91..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/Type Constraint.tmSnippet +++ /dev/null @@ -1,16 +0,0 @@ - - - - - content - (${1:Class}) => $0 - name - Type Constraint - scope - source.haskell meta.function.type - tabTrigger - = - uuid - 1D72833B-ED9F-4A5E-9B72-F77E4FD09CE9 - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/Type Sequence.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/Type Sequence.tmSnippet deleted file mode 100644 index 9f18048c..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/Type Sequence.tmSnippet +++ /dev/null @@ -1,16 +0,0 @@ - - - - - content - ${1:Type} -> ${0:Type} - name - Type Sequence - scope - source.haskell meta.function.type - tabTrigger - - - uuid - 17FC3207-9DC4-47F8-A9B3-B38FE5F84158 - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/Type Signature.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/Type Signature.tmSnippet deleted file mode 100644 index d2131304..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/Type Signature.tmSnippet +++ /dev/null @@ -1,16 +0,0 @@ - - - - - content - ${1:name} :: ${0:Type} - name - Type Signature - scope - source.haskell - tabTrigger - :: - uuid - 78719987-0091-407A-B5F1-68456A67130D - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/case _ of _.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/case _ of _.tmSnippet deleted file mode 100644 index 242117a2..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/case _ of _.tmSnippet +++ /dev/null @@ -1,18 +0,0 @@ - - - - - content - case ${1:expression} of - ${2:pattern} -> ${3:expression} - ${4:otherwise} -> ${5:expression} - name - case … of … - scope - source.haskell - tabTrigger - case - uuid - DD1D7C05-BC60-4E62-BC8C-9230A32C2533 - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/class _.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/class _.tmSnippet deleted file mode 100644 index 600b2abe..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/class _.tmSnippet +++ /dev/null @@ -1,17 +0,0 @@ - - - - - content - class ${1:Class} where - ${0:definition} - name - class … - scope - source.haskell - tabTrigger - cla - uuid - 23F6173A-6390-46FF-865C-F59AB70E360A - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/data _.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/data _.tmSnippet deleted file mode 100644 index d9b472d1..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/data _.tmSnippet +++ /dev/null @@ -1,16 +0,0 @@ - - - - - content - data ${1:Type} = ${0:Other} - name - data … - scope - source.haskell - tabTrigger - dat - uuid - 4C5EC5BB-6AE1-4825-AB50-1CF4741285E9 - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/deriving _.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/deriving _.tmSnippet deleted file mode 100644 index 661ed416..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/deriving _.tmSnippet +++ /dev/null @@ -1,16 +0,0 @@ - - - - - content - deriving (${0:Class}) - name - deriving … - scope - source.haskell meta.type - tabTrigger - der - uuid - 3FA57615-871F-4465-B35D-781B2EA9F5FC - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/do _.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/do _.tmSnippet deleted file mode 100644 index 9a9b84b6..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/do _.tmSnippet +++ /dev/null @@ -1,17 +0,0 @@ - - - - - content - do - ${1:return ${0:expression}} - name - do … - scope - source.haskell - tabTrigger - do - uuid - 397D02C1-A10B-4A83-8C05-6EB71E50D4CF - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/if _ then _ else _.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/if _ then _ else _.tmSnippet deleted file mode 100644 index 81bd3785..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/if _ then _ else _.tmSnippet +++ /dev/null @@ -1,18 +0,0 @@ - - - - - content - if ${1:condition} - then ${2:expression} - else ${3:expression} - name - if … then … else … - scope - source.haskell - tabTrigger - if - uuid - 5F2050D1-1347-40CE-854E-24B2BF389849 - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/import _ hiding _.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/import _ hiding _.tmSnippet deleted file mode 100644 index 88f6f5c3..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/import _ hiding _.tmSnippet +++ /dev/null @@ -1,16 +0,0 @@ - - - - - content - import ${1:Module}${2/.+/ hiding (/}${2:function}${2/.+/)/}$0 - name - import … hiding … - scope - source.haskell - tabTrigger - imph - uuid - 1BA6898C-E8C4-44C9-98F4-4823608FEFD1 - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/import _.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/import _.tmSnippet deleted file mode 100644 index d9070688..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/import _.tmSnippet +++ /dev/null @@ -1,16 +0,0 @@ - - - - - content - import ${1:Module}${2/.+/ (/}${2:function}${2/.+/)/}$0 - name - import … - scope - source.haskell - tabTrigger - imp - uuid - 85150C9B-A5F1-450A-BEBF-119091146957 - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/import qualified _.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/import qualified _.tmSnippet deleted file mode 100644 index 6225658f..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/import qualified _.tmSnippet +++ /dev/null @@ -1,16 +0,0 @@ - - - - - content - import qualified ${1:Module}${2/.+/ as /}${2:Mod}${3/.+/ (/}${3:function}${3/.+/)/}$0 - name - import qualified … - scope - source.haskell - tabTrigger - impq - uuid - 32BC2D63-AF02-4DBA-8A75-6A74E334FE0C - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/instance _.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/instance _.tmSnippet deleted file mode 100644 index 3f725c17..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/instance _.tmSnippet +++ /dev/null @@ -1,17 +0,0 @@ - - - - - content - instance ${1:Class} ${2:Type} where - ${0:definition} - name - instance … - scope - source.haskell - tabTrigger - ins - uuid - 26F8FAFE-4438-4D3C-A453-AAB72FD0F719 - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/let _.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/let _.tmSnippet deleted file mode 100644 index 4eb4f333..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/let _.tmSnippet +++ /dev/null @@ -1,18 +0,0 @@ - - - - - content - let - ${1:name} = ${2:expression} - in ${0:expression} - name - let … - scope - source.haskell - tabTrigger - let - uuid - 88C8A6FB-B06D-4386-BA33-51E28F64AD88 - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/newtype _.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/newtype _.tmSnippet deleted file mode 100644 index f7293376..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/newtype _.tmSnippet +++ /dev/null @@ -1,16 +0,0 @@ - - - - - content - newtype ${1:Type} = ${0:Other} - name - newtype … - scope - source.haskell - tabTrigger - new - uuid - EFCBAB59-D574-454D-A05A-8928CF81947F - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/type _.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/type _.tmSnippet deleted file mode 100644 index 1b33fc15..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/type _.tmSnippet +++ /dev/null @@ -1,16 +0,0 @@ - - - - - content - type ${1:Type} = ${0:Other} - name - type … - scope - source.haskell - tabTrigger - typ - uuid - 3C25C0C7-D764-4BF8-9BFF-AE6954AF106D - - diff --git a/vendor/grammars/haskell.tmbundle/Snippets/where _.tmSnippet b/vendor/grammars/haskell.tmbundle/Snippets/where _.tmSnippet deleted file mode 100644 index c65c5eb5..00000000 --- a/vendor/grammars/haskell.tmbundle/Snippets/where _.tmSnippet +++ /dev/null @@ -1,17 +0,0 @@ - - - - - content - where - ${0:definitions} - name - where … - scope - source.haskell - tabTrigger - where - uuid - A6FD9AB4-8E7E-47A8-B17D-D82F47A0C495 - - diff --git a/vendor/grammars/haskell.tmbundle/Support/bin/haskelltype b/vendor/grammars/haskell.tmbundle/Support/bin/haskelltype deleted file mode 100755 index 4f1ca275..00000000 --- a/vendor/grammars/haskell.tmbundle/Support/bin/haskelltype +++ /dev/null @@ -1,222 +0,0 @@ -#!/usr/bin/env ruby18 -w - -word = ARGV.first - -prelude = ' -(!!) :: [a] -> Int -> a ||||| [0,1,2] !! 1 = 1 -($) :: (a -> b) -> a -> b ||||| f x $ g y = f x (g y) -($!) :: (a -> b) -> (a -> b) ||||| -(&&) :: Bool -> Bool -> Bool ||||| Boolean \'and\' -(||) :: Bool -> Bool -> Bool ||||| Boolean \'or\' -(*) :: Num a => a -> a -> a ||||| Multiplication -(**) :: Floating a => a -> a -> a ||||| Exponentiation -(+) :: Num a => a -> a -> a ||||| Addition -(++) :: [a] -> [a] -> [a] ||||| Concatonation: "abc" ++ "def" = "abcdef" -(-) :: Num a => a -> a -> a ||||| Subtraction -(.) :: (b -> c) -> (a -> b) -> a -> c ||||| Function composition -(/) :: Fractional a => a -> a -> a ||||| Division -(/=) :: Eq a => a -> a -> Bool ||||| not equal -(<) :: Ord a => a -> a -> Bool ||||| Less Than -(<=) :: Ord a => a -> a -> Bool ||||| Less Than or Equal To -(==) :: Eq a => a -> a -> Bool ||||| Equality -(=<<) :: Monad a => (a -> m b) -> m a -> m b ||||| Monadic binding -(>) :: Ord a => a -> a -> Bool ||||| Greater Than -(>=) :: Ord a => a -> a -> Bool ||||| Greater Than or Equal To -(>>) :: Monad m => m a -> m b -> m b ||||| Monadic binding -(>>=) :: Monad m => m a -> (a -> m b) -> m b ||||| Monadic binding -(^) :: (Num a, Integral b) => a -> b -> a ||||| Exponentiation -(^^) :: (Fractional a, Integral b) => a -> b -> a ||||| negative exponent allowed -abs :: Num a => a -> a ||||| Absolute Value -acos :: Floating a => a -> a ||||| Arccosine -acosh :: Floating a => a -> a ||||| Hyperbolic Arccosine -all :: (a -> Bool) -> [a] -> Bool ||||| all (/= \'a\') "cba" = False -and :: [Bool] -> Bool ||||| and [True, True, True] = True -any :: (a -> Bool) -> [a] -> Bool ||||| any (== \'c\') "abc" = True -appendFile :: FilePath -> String -> IO () ||||| Appends String to FilePath -applyM :: Monad m => (a -> m b) -> m a -> m b ||||| -asTypeOf :: a -> a -> a ||||| Sort of a type cast -asin :: Floating a => a -> a ||||| Arcsine -asinh :: Floating a => a -> a ||||| Hyperbolic Arcsine -atan :: Floating a => a -> a ||||| Arctangent -atan2 :: RealFrac a => a -> a ||||| ArcTangent -atanh :: Floating a => a -> a ||||| Hyperbolic Arctangent -break :: (a -> Bool) -> [a] -> ([a], [a]) ||||| break (<2) [1,2,3] = ([1],[2,3]) -catch :: IO a -> (IOError -> IO a) -> IO a ||||| -ceiling :: (RealFrac a, Integral b) => a -> b ||||| -compare :: Ord a => a -> a -> Ordering ||||| -concat :: MonadPlus m => [m a] -> m a ||||| concat ["a","bc","d"] = "abcd" -concatMap :: (a -> [b]) -> [a] -> [b] ||||| -const :: a -> b -> a ||||| -cos :: Floating a => a -> a ||||| -cosh :: Floating a => a -> a ||||| -curry :: ((a, b) -> c) -> a -> b -> c ||||| -cycle :: [a] -> [a] ||||| cycle "abc" = "abcabcabc... -decodeFloat :: RealFloat a => a -> (Integer, Int) ||||| -div :: Integral a => a -> a -> a ||||| -divMod :: Integral a => a -> a -> (a, a) ||||| -drop :: Int -> [a] -> [a] ||||| drop 2 "abcd" = "cd" -dropWhile :: (a -> Bool) -> [a] -> [a] ||||| dropWhile (>3) [5,3,5] = [3,5] -elem :: Eq a => a -> [a] -> Bool ||||| \'a\' \'elem\' "abc" = True -encodeFloat :: RealFloat a => Integer -> Int -> a ||||| -enumFrom :: Enum a => a -> [a] ||||| [n..] -enumFromThen :: Enum a => a -> a -> [a] ||||| [m,n..] -enumFromThenTo :: Enum a => a -> a -> a -> [a] ||||| [m,n..o] -enumFromTo :: Enum a => a -> a -> [a] ||||| [m..n] -error :: String -> a ||||| -even :: Integral a => a -> Bool ||||| -exp :: Floating a => a -> a ||||| -exponent :: RealFloat a => a -> Int ||||| -fail :: Monad m => String -> m a ||||| -filter :: (a -> Bool) -> [a] -> [a] ||||| -flip :: (a -> b -> c) -> (b -> a -> c) ||||| -floatDigits :: RealFloat a => a -> Int ||||| -floatRadix :: RealFloat a => a -> Integer ||||| -floatRange :: RealFloat a => a -> (Int, Int) ||||| -floor :: (RealFrac a, Integral b) => a -> b ||||| -fmap :: Functor f => (a -> b) -> f a -> f b ||||| -foldl :: (a -> b -> a) -> a -> [b] -> a ||||| foldl (+) 0 [a,b,c] = ((0+a)+b)+c -foldl1 :: (a -> a -> a) -> [a] -> a ||||| foldl1 (+) [a,b,c] = (a+b)+c -foldr :: (a -> b -> b) -> b -> [a] -> b ||||| foldr (+) 0 [a,b,c] = a+(b+(c+0)) -foldr1 :: (a -> a -> a) -> [a] -> a ||||| foldr1 (+) [a,b,c] = a+(b+c) -fromEnum :: Enum a => a -> Int ||||| -fromInteger :: Num a => Integer -> a ||||| -fromIntegral :: (Integral a, Num b) => a -> b ||||| -fromRational :: Fractional a => Rational -> a ||||| -fst :: (a, b) -> a ||||| -gcd :: (Integral a) => a -> a -> a ||||| -getChar :: IO Char ||||| eof generates an IOError -getContents :: IO String ||||| -getLine :: IO String ||||| eof generates an IOError -head :: [a] -> a ||||| -id :: a -> a ||||| -init :: [a] -> [a] ||||| init "abcd" = "abc" -interact :: (String -> String) -> IO () ||||| -ioError :: IOError -> IO a ||||| -isDenormalized :: RealFloat a => a -> Bool ||||| -isIEEE :: RealFloat a => a -> Bool ||||| -isInfinite :: RealFloat a => a -> Bool ||||| -isNaN :: RealFloat a => a -> Bool ||||| -isNegativeZero :: RealFloat a => a -> Bool ||||| -iterate :: (a -> a) -> a -> [a] ||||| iterate (++ " ") "" = ["", " ", " ",...] -last :: [a] -> a ||||| last "abcde" = "e" -lcm :: Integral a => a -> a -> a ||||| -length :: [a] -> Int ||||| length "Abc" = 3 -lex :: ReadS String ||||| lex "abc def" = [("abc"," def")] -lines :: String -> [String] ||||| -log :: Floating a => a -> a ||||| -logBase :: Floating a => a -> a -> a ||||| -lookup :: Eq a => a -> [(a, b)] -> Maybe b ||||| -map :: (a -> b) -> [a] -> [b] ||||| -mapM :: Monad m => (a -> m b) -> [a] -> m [b] ||||| -mapM_ :: Monad m => (a -> m b) -> [a] -> m () ||||| -max :: Ord a => a -> a -> a ||||| -maxBound :: Bounded a => a ||||| -maximum :: Ord a => [a] -> a ||||| -maybe :: b -> (a -> b) -> Maybe a -> b ||||| maybe 0 (+1) (Just 1) = 2 -min :: Ord a => a -> a -> a ||||| -minBound :: Bounded a => a ||||| -minimum :: Ord a => [a] -> a ||||| -mod :: Integral a => a -> a -> a ||||| -negate :: Num a => a -> a ||||| -not :: Bool -> Bool ||||| -notElem :: Eq a => a -> [a] -> Bool ||||| -null :: [a] -> Bool ||||| -odd :: Integral a => a -> Bool ||||| -or :: [Bool] -> Bool ||||| -otherwise :: Bool ||||| -pi :: Floating a => a ||||| -pred :: Enum a => a -> a ||||| pred True = False -print :: Show a => IO () ||||| adds a newline -product :: Num a => [a] -> a ||||| -properFraction :: (RealFrac a, Integral b) => a -> (b, a) ||||| -putChar :: Char -> IO () ||||| -putStr :: String -> IO () ||||| -putStrLn :: String -> IO () ||||| adds a newline -quot :: Integral a => a -> a -> a ||||| -quotRem :: Integral a => a -> a -> (a, a) ||||| -read :: Read a => String -> a ||||| -readFile :: FilePath -> IO String ||||| -readIO :: Read a => String -> IO a ||||| fails with IOError -readList :: Read a => ReadS [a] ||||| -readLn :: Read a => IO a ||||| -readParen :: Bool -> ReadS a -> ReadS a ||||| -reads :: Read a => ReadS a ||||| reads "1 2" :: [(Int,String)] = [(1," 2")] -readsPrec :: Read a => Int -> ReadS a ||||| -realToFrac :: (Real a, Fractional b) => a -> b ||||| -recip :: Fractional a => a -> a ||||| -rem :: Integral a => a -> a -> a ||||| -repeat :: a -> [a] ||||| repeat \'a\' = "aaaaaaaaa..." -replicate :: Int -> a -> [a] ||||| replicate 4 \'a\' = "aaaa" -return :: Monad m => a -> m a ||||| -reverse :: [a] -> [a] ||||| reverse "abc" = "cba" -round :: (RealFrac a, Integral b) => a -> b ||||| -scaleFloat :: RealFloat a => Int -> a -> a ||||| -scanl :: (a -> b -> a) -> a -> [b] -> [a] ||||| scanl (+) 0 [1,2,3] = [0,1,3,6] -scanl1 :: (a -> a -> a) -> [a] -> [a] ||||| scanl1 (+) [1,2,3] = [1,3,6] -scanr :: (a -> b -> b) -> b -> [a] -> [b] ||||| scanr (+) 0 [1,2,3] = [6,5,3,0] -scanr1 :: (a -> a -> a) -> [a] -> [a] ||||| scanr1 (+) [1,2,3] = [6,5,3] -seq :: a -> b -> b ||||| -sequence :: Monad m => [m a] -> m [a] ||||| -sequence_ :: Monad m => [m a] -> m () ||||| do operations in sequence -show :: Show a => a -> String ||||| -showChar :: Char -> ShowS ||||| -showList :: Show a => [a] -> ShowS ||||| -showParen :: Bool -> ShowS -> ShowS ||||| -showString :: String -> ShowS ||||| -shows :: Show a => a -> ShowS ||||| -showsPrec :: Show a => Int -> a -> ShowS ||||| -significand :: RealFloat a => a -> a ||||| -signum :: Num a => a -> a ||||| -sin :: Floating a => a -> a ||||| -sinh :: Floating a => a -> a ||||| -snd :: (a, b) -> b ||||| -span :: (a -> Bool) -> [a] -> ([a], [a]) ||||| span isAlpha "ab cd" = ("ab"," cd") -splitAt :: Int -> [a] -> ([a], [a]) ||||| splitAt 2 "abcdef" = ("ab","cdef") -sqrt :: Floating a => a -> a ||||| -subtract :: Num a => a -> a -> a ||||| -succ :: Enum a => a -> a ||||| succ False = True -sum :: Num a => [a] -> a ||||| sum [1,2,3] = 6 -tail :: [a] -> [a] ||||| tail "abc" = "bc" -take :: Int -> [a] -> [a] ||||| take 3 "abcde" = "abc" -takeWhile :: (a -> Bool) -> [a] -> [a] ||||| takeWhile (> 2) [3,2,1] = [3] -tan :: Floating a => a -> a ||||| -tanh :: Floating a => a -> a ||||| -toEnum :: Enum a => Int -> a ||||| toEnum 0 :: Bool = False -toInteger :: Integral a => a -> Integer ||||| -toRational :: Real a => a -> Rational ||||| -truncate :: (RealFrac a, Integral b) => a -> b ||||| -uncurry :: (a -> b -> c) -> ((a, b) -> c) ||||| -undefined :: a ||||| -unlines :: [String] -> String ||||| -until :: (a -> Bool) -> (a -> a) -> a -> a ||||| until (> 3) (+ 2) 0 = 4 -unwords :: [String] -> String ||||| -unzip :: [(a, b)] -> ([a], [b]) ||||| unzip [(\'a\',\'b\'),(\'c\',\'d\')] = ("ac",bd") -unzip3 :: [(a, b, c)] -> ([a], [b], [c]) ||||| -userError :: String -> IOError ||||| -words :: String -> [String] ||||| words "ab d as+3" = ["ab","d","as+3"] -writeFile :: FilePath -> String -> IO () ||||| -zip :: [a] -> [b] -> [(a, b)] ||||| zip "abc" "de" = [(\'a\',\'d\'), (\'b\',e\')] -zip3 :: [a] -> [b] -> [c] -> [(a, b, c)] ||||| -zipWith :: (a -> b -> c) -> [a] -> [b] -> [c] ||||| zipWith (+) [1,2] [3,4] = [4,6] -zipWith3 :: (a -> b -> c -> d) -> [a] -> [b] -> [c] -> [d] |||||' - -lookup = prelude.strip.split("\n").inject(Hash.new) { |h,l| - name, desc = l.split("::") - h[name.strip] = desc.split("|||||").map {|a| a.strip} - h -} - -if lookup[word] - puts lookup[word] -else - STDIN.each do |line| - name, desc = line.strip.split("::") - if name and desc - if name.split(",").map{|s| s.strip}.include?(word) - puts desc.strip - exit - end - end - end - puts "☿ It is a mystery ☿" -end diff --git a/vendor/grammars/haskell.tmbundle/Syntaxes/Haskell.plist b/vendor/grammars/haskell.tmbundle/Syntaxes/Haskell.plist deleted file mode 100644 index 6c8ae151..00000000 --- a/vendor/grammars/haskell.tmbundle/Syntaxes/Haskell.plist +++ /dev/null @@ -1,711 +0,0 @@ - - - - - fileTypes - - hs - - keyEquivalent - ^~H - name - Haskell - patterns - - - captures - - 1 - - name - punctuation.definition.entity.haskell - - 2 - - name - punctuation.definition.entity.haskell - - - comment - In case this regex seems unusual for an infix operator, note that Haskell allows any ordinary function application (elem 4 [1..10]) to be rewritten as an infix expression (4 `elem` [1..10]). - match - (`)[\p{Ll}_][\p{Ll}_\p{Lu}\p{Lt}\p{Nd}']*(`) - name - keyword.operator.function.infix.haskell - - - match - \(\) - name - constant.language.unit.haskell - - - match - \[\] - name - constant.language.empty-list.haskell - - - begin - \b(module)\b - beginCaptures - - 1 - - name - keyword.other.haskell - - - end - \b(where)\b - endCaptures - - 1 - - name - keyword.other.haskell - - - name - meta.declaration.module.haskell - patterns - - - include - #module_name - - - include - #module_exports - - - match - [a-z]+ - name - invalid - - - - - begin - \b(class)\b - beginCaptures - - 1 - - name - keyword.other.haskell - - - end - \b(where)\b - endCaptures - - 1 - - name - keyword.other.haskell - - - name - meta.declaration.class.haskell - patterns - - - match - \b(Monad|Functor|Eq|Ord|Read|Show|Num|(Frac|Ra)tional|Enum|Bounded|Real(Frac|Float)?|Integral|Floating)\b - name - support.class.prelude.haskell - - - match - [\p{Lu}\p{Lt}][\p{Ll}_\p{Lu}\p{Lt}\p{Nd}']* - name - entity.other.inherited-class.haskell - - - match - \b[\p{Ll}_][\p{Ll}_\p{Lu}\p{Lt}\p{Nd}']* - name - variable.other.generic-type.haskell - - - - - begin - \b(instance)\b - beginCaptures - - 1 - - name - keyword.other.haskell - - - end - \b(where)\b|$ - endCaptures - - 1 - - name - keyword.other.haskell - - - name - meta.declaration.instance.haskell - patterns - - - include - #type_signature - - - - - begin - \b(import)\b - beginCaptures - - 1 - - name - keyword.other.haskell - - - end - ($|;|(?=--)) - name - meta.import.haskell - patterns - - - match - (qualified|as|hiding) - name - keyword.other.haskell - - - include - #module_name - - - include - #module_exports - - - - - begin - (deriving)\s*\( - beginCaptures - - 1 - - name - keyword.other.haskell - - - end - \) - name - meta.deriving.haskell - patterns - - - match - \b[\p{Lu}\p{Lt}][\p{Ll}_\p{Lu}\p{Lt}\p{Nd}']* - name - entity.other.inherited-class.haskell - - - - - match - \b(deriving|where|data|type|case|of|let|in|newtype|default)\b - name - keyword.other.haskell - - - match - \binfix[lr]?\b - name - keyword.operator.haskell - - - match - \b(do|if|then|else)\b - name - keyword.control.haskell - - - comment - Floats are always decimal - match - \b([0-9]+\.[0-9]+([eE][+-]?[0-9]+)?|[0-9]+[eE][+-]?[0-9]+)\b - name - constant.numeric.float.haskell - - - match - \b([0-9]+|0([xX][0-9a-fA-F]+|[oO][0-7]+))\b - name - constant.numeric.haskell - - - captures - - 1 - - name - punctuation.definition.preprocessor.c - - - comment - In addition to Haskell's "native" syntax, GHC permits the C preprocessor to be run on a source file. - match - ^\s*(#)\s*\w+ - name - meta.preprocessor.c - - - include - #pragma - - - begin - " - beginCaptures - - 0 - - name - punctuation.definition.string.begin.haskell - - - end - " - endCaptures - - 0 - - name - punctuation.definition.string.end.haskell - - - name - string.quoted.double.haskell - patterns - - - match - \\(NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[abfnrtv\\\"'\&]) - name - constant.character.escape.haskell - - - match - \\o[0-7]+|\\x[0-9A-Fa-f]+|\\[0-9]+ - name - constant.character.escape.octal.haskell - - - match - \^[A-Z@\[\]\\\^_] - name - constant.character.escape.control.haskell - - - begin - \\\s - beginCaptures - - 0 - - name - constant.character.escape.begin.haskell - - - end - \\ - endCaptures - - 0 - - name - constant.character.escape.end.haskell - - - patterns - - - match - \S+ - name - invalid.illegal.character-not-allowed-here.haskell - - - - - - - captures - - 1 - - name - punctuation.definition.string.begin.haskell - - 2 - - name - constant.character.escape.haskell - - 3 - - name - constant.character.escape.octal.haskell - - 4 - - name - constant.character.escape.hexadecimal.haskell - - 5 - - name - constant.character.escape.control.haskell - - 6 - - name - punctuation.definition.string.end.haskell - - - match - (?x) - (') - (?: - [\ -\[\]-~] # Basic Char - | (\\(?:NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE - |DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS - |US|SP|DEL|[abfnrtv\\\"'\&])) # Escapes - | (\\o[0-7]+) # Octal Escapes - | (\\x[0-9A-Fa-f]+) # Hexadecimal Escapes - | (\^[A-Z@\[\]\\\^_]) # Control Chars - ) - (') - - name - string.quoted.single.haskell - - - begin - ^\s*(?<fn>(?:[\p{Ll}_][\p{Ll}_\p{Lu}\p{Lt}\p{Nd}']*|\((?!--+\))((?![(),;\[\]`{}_"'])[\p{S}\p{P}])+\))(?:\s*,\s*\g<fn>)?)\s*(::) - beginCaptures - - 1 - - patterns - - - match - [\p{Ll}_][\p{Ll}_\p{Lu}\p{Lt}\p{Nd}']* - name - entity.name.function.haskell - - - include - #infix_op - - - - 2 - - name - keyword.other.double-colon.haskell - - - end - $\n? - name - meta.function.type-declaration.haskell - patterns - - - include - #type_signature - - - - - match - \b(Just|Nothing|Left|Right|True|False|LT|EQ|GT|\(\)|\[\])\b - name - support.constant.haskell - - - match - \b[\p{Lu}\p{Lt}][\p{Ll}_\p{Lu}\p{Lt}\p{Nd}']* - name - constant.other.haskell - - - include - #comments - - - match - \b(abs|acos|acosh|all|and|any|appendFile|applyM|asTypeOf|asin|asinh|atan|atan2|atanh|break|catch|ceiling|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|div|divMod|drop|dropWhile|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromEnum|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|head|id|init|interact|ioError|isDenormalized|isIEEE|isInfinite|isNaN|isNegativeZero|iterate|last|lcm|length|lex|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|odd|or|otherwise|pi|pred|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|read|readFile|readIO|readList|readLn|readParen|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showList|showParen|showString|shows|showsPrec|significand|signum|sin|sinh|snd|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|toEnum|toInteger|toRational|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b(?!') - name - support.function.prelude.haskell - - - include - #infix_op - - - comment - In case this regex seems overly general, note that Haskell permits the definition of new operators which can be nearly any string of punctuation characters, such as $%^&*. - match - ((?![(),;\[\]`{}_"'])[\p{S}\p{P}])+ - name - keyword.operator.haskell - - - match - , - name - punctuation.separator.comma.haskell - - - repository - - block_comment - - applyEndPatternLast - 1 - begin - \{-(?!#) - captures - - 0 - - name - punctuation.definition.comment.haskell - - - end - -\} - name - comment.block.haskell - patterns - - - include - #block_comment - - - - comments - - patterns - - - begin - (^[ \t]+)?(?=--+((?![\p{S}\p{P}])|[(),;\[\]`{}_"'])) - beginCaptures - - 1 - - name - punctuation.whitespace.comment.leading.haskell - - - comment - Operators may begin with '--' as long as they are not entirely composed of '-' characters. This means comments can't be immediately followed by an allowable operator character. - end - (?!\G) - patterns - - - begin - -- - beginCaptures - - 0 - - name - punctuation.definition.comment.haskell - - - end - \n - name - comment.line.double-dash.haskell - - - - - include - #block_comment - - - - infix_op - - comment - An operator cannot be composed entirely of '-' characters; instead, it should be matched as a comment. - match - (\((?!--+\))((?![(),;\[\]`{}_"'])[\p{S}\p{P}])+\)|\(,+\)) - name - entity.name.function.infix.haskell - - module_exports - - begin - \( - end - \) - name - meta.declaration.exports.haskell - patterns - - - match - \b[\p{Ll}_][\p{Ll}_\p{Lu}\p{Lt}\p{Nd}']* - name - entity.name.function.haskell - - - match - \b[\p{Lu}\p{Lt}][\p{Ll}_\p{Lu}\p{Lt}\p{Nd}']* - name - storage.type.haskell - - - match - , - name - punctuation.separator.comma.haskell - - - include - #infix_op - - - comment - So named because I don't know what to call this. - match - \(.*?\) - name - meta.other.unknown.haskell - - - - module_name - - match - (?<conid>[\p{Lu}\p{Lt}][\p{Ll}_\p{Lu}\p{Lt}\p{Nd}']*(\.\g<conid>)?) - name - support.other.module.haskell - - pragma - - begin - \{-# - end - #-\} - name - meta.preprocessor.haskell - patterns - - - match - \b(LANGUAGE|UNPACK|INLINE)\b - name - keyword.other.preprocessor.haskell - - - - type_signature - - patterns - - - captures - - 1 - - name - entity.other.inherited-class.haskell - - 2 - - name - variable.other.generic-type.haskell - - 3 - - name - keyword.other.big-arrow.haskell - - - match - \(\s*([\p{Lu}\p{Lt}][\p{Ll}_\p{Lu}\p{Lt}\p{Nd}']*)\s+([\p{Ll}_][\p{Ll}_\p{Lu}\p{Lt}\p{Nd}']*)\)\s*(=>) - name - meta.class-constraint.haskell - - - include - #pragma - - - match - -> - name - keyword.other.arrow.haskell - - - match - => - name - keyword.other.big-arrow.haskell - - - match - \b(Int(eger)?|Maybe|Either|Bool|Float|Double|Char|String|Ordering|ShowS|ReadS|FilePath|IO(Error)?)\b - name - support.type.prelude.haskell - - - match - \b[\p{Ll}_][\p{Ll}_\p{Lu}\p{Lt}\p{Nd}']* - name - variable.other.generic-type.haskell - - - match - \b[\p{Lu}\p{Lt}][\p{Ll}_\p{Lu}\p{Lt}\p{Nd}']* - name - storage.type.haskell - - - match - \(\) - name - support.constant.unit.haskell - - - include - #comments - - - - - scopeName - source.haskell - uuid - 5C034675-1F6D-497E-8073-369D37E2FD7D - - diff --git a/vendor/grammars/haskell.tmbundle/Syntaxes/Literate Haskell.plist b/vendor/grammars/haskell.tmbundle/Syntaxes/Literate Haskell.plist deleted file mode 100644 index d819ef03..00000000 --- a/vendor/grammars/haskell.tmbundle/Syntaxes/Literate Haskell.plist +++ /dev/null @@ -1,92 +0,0 @@ - - - - - fileTypes - - lhs - - keyEquivalent - ^~H - name - Literate Haskell - patterns - - - begin - ^((\\)begin)({)code(})(\s*\n)? - captures - - 1 - - name - support.function.be.latex - - 2 - - name - punctuation.definition.function.latex - - 3 - - name - punctuation.definition.arguments.begin.latex - - 4 - - name - punctuation.definition.arguments.end.latex - - - contentName - source.haskell.embedded.latex - end - ^((\\)end)({)code(}) - name - meta.embedded.block.haskell.latex - patterns - - - include - source.haskell - - - - - begin - ^(> ) - beginCaptures - - 1 - - name - punctuation.definition.bird-track.haskell - - - comment - This breaks type signature detection for now, but it's better than having no highlighting whatsoever. - contentName - source.haskell - end - $ - name - meta.embedded.haskell - patterns - - - include - source.haskell - - - - - include - text.tex.latex - - - scopeName - text.tex.latex.haskell - uuid - 439807F5-7129-487D-B5DC-95D5272B43DD - - diff --git a/vendor/grammars/haskell.tmbundle/info.plist b/vendor/grammars/haskell.tmbundle/info.plist deleted file mode 100644 index 8b942e8f..00000000 --- a/vendor/grammars/haskell.tmbundle/info.plist +++ /dev/null @@ -1,58 +0,0 @@ - - - - - contactEmailRot13 - wnzvf@37fvtanyf.pbz - contactName - Jamis Buck - description - Support for <a href="http://www.haskell.org/">Haskell</a>, a general purpose, purely functional programming language featuring static typing, higher order functions, polymorphism, type classes, and monadic effects. - mainMenu - - items - - 3B083BE7-9812-4F06-A758-CCAD9514E797 - 2242C46C-153E-4EEB-B80B-A5398559D759 - ------------------------------------ - 6B723007-D4EE-476B-8282-76230C559D5A - 50D814AE-D850-4C97-AF3E-1FDE4366C6A3 - ------------------------------------ - FA4AA254-EB7D-4B43-AC67-066AA9E8E8D9 - ------------------------------------ - A3A65891-D126-4D2D-9E6B-E20ADE2EAA88 - 21646767-DD1B-4BA9-BF3B-15968F8672AB - 18F43074-566D-4AD9-8DCE-9C26B8516B64 - CE424A97-E486-4DE7-9328-C6ADB99B4ABD - ------------------------------------ - 89248B78-C2C6-48EE-BC47-CF8E9A5EA0E7 - - submenus - - - name - Haskell - ordering - - 3B083BE7-9812-4F06-A758-CCAD9514E797 - 2242C46C-153E-4EEB-B80B-A5398559D759 - 6B723007-D4EE-476B-8282-76230C559D5A - 50D814AE-D850-4C97-AF3E-1FDE4366C6A3 - FA4AA254-EB7D-4B43-AC67-066AA9E8E8D9 - A3A65891-D126-4D2D-9E6B-E20ADE2EAA88 - 21646767-DD1B-4BA9-BF3B-15968F8672AB - 18F43074-566D-4AD9-8DCE-9C26B8516B64 - CE424A97-E486-4DE7-9328-C6ADB99B4ABD - 89248B78-C2C6-48EE-BC47-CF8E9A5EA0E7 - 4B154C05-D107-4316-9AAD-43A3DCF1860A - 5C034675-1F6D-497E-8073-369D37E2FD7D - 439807F5-7129-487D-B5DC-95D5272B43DD - E3994307-4D9E-44D6-832E-52C244F1CDF3 - 39417FB9-B85C-4213-BB1D-C19BCDD4E487 - 0C39B945-E2C0-4E43-8A5B-332F6FA73C67 - FBF9D932-D5CE-4EC4-9162-122E511C8627 - - uuid - 118557A4-4FEF-406D-A68E-BD191D9CBC83 - - diff --git a/vendor/grammars/sublime_man_page_support/.gitignore b/vendor/grammars/sublime_man_page_support/.gitignore deleted file mode 100644 index 91fa95c6..00000000 --- a/vendor/grammars/sublime_man_page_support/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -*.cache -*.pyc diff --git a/vendor/grammars/sublime_man_page_support/LICENSE b/vendor/grammars/sublime_man_page_support/LICENSE deleted file mode 100644 index 200d1262..00000000 --- a/vendor/grammars/sublime_man_page_support/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2013 carsonoid - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/vendor/grammars/sublime_man_page_support/Main.sublime-menu b/vendor/grammars/sublime_man_page_support/Main.sublime-menu deleted file mode 100644 index f1d0110f..00000000 --- a/vendor/grammars/sublime_man_page_support/Main.sublime-menu +++ /dev/null @@ -1,23 +0,0 @@ -[ - { - "id": "tools", - "children": - [ - { - "id": "packages", - "caption": "Packages", - "children": - [ - { - "caption": "Man Page Editing", - "id": "man_page_dev", - "children": - [ - { "caption": "New Man Page", "command": "man_page_new" } - ] - } - ] - } - ] - } -] diff --git a/vendor/grammars/sublime_man_page_support/ManPage.sublime-build b/vendor/grammars/sublime_man_page_support/ManPage.sublime-build deleted file mode 100644 index 0c5c11ed..00000000 --- a/vendor/grammars/sublime_man_page_support/ManPage.sublime-build +++ /dev/null @@ -1,4 +0,0 @@ -{ - "target": "man_page_preview", - "selector": "text.groff" -} diff --git a/vendor/grammars/sublime_man_page_support/ManPage.sublime-commands b/vendor/grammars/sublime_man_page_support/ManPage.sublime-commands deleted file mode 100644 index 7bfeb83d..00000000 --- a/vendor/grammars/sublime_man_page_support/ManPage.sublime-commands +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "caption": "Create New Man Page", - "command": "man_page_new" - }, - { - "caption": "Preview Current Man Page", - "command": "man_page_preview" - } -] diff --git a/vendor/grammars/sublime_man_page_support/README.md b/vendor/grammars/sublime_man_page_support/README.md deleted file mode 100644 index 6cf11c86..00000000 --- a/vendor/grammars/sublime_man_page_support/README.md +++ /dev/null @@ -1,10 +0,0 @@ -#Sublime Man Page Support - -Sublime Text 2 Support for Unix style manual pages. - -## Includes: - - * groff syntax highlighting - * command to create a new man page skeleton - * snippet that will add useful macros to your man pages on older systems (must come before man page content) - * Preview command, build-system, and syntax diff --git a/vendor/grammars/sublime_man_page_support/groff-enhancements.sublime-snippet b/vendor/grammars/sublime_man_page_support/groff-enhancements.sublime-snippet deleted file mode 100644 index ce944f8c..00000000 --- a/vendor/grammars/sublime_man_page_support/groff-enhancements.sublime-snippet +++ /dev/null @@ -1,201 +0,0 @@ - - 1 \\ -. nx -. -.\\" Check whether we are using grohtml. -.nr mH 0 -.if \\n(.g \\ -. if '\\*(.T'html' \\ -. nr mH 1 -. -. -.\\" Map mono-width fonts to standard fonts for groff's TTY device. -.if n \\{\\ -. do ftr CR R -. do ftr CI I -. do ftr CB B -.\\} -. -.\\" groff has glyph entities for angle brackets. -.ie \\n(.g \\{\\ -. ds la \\(la\\" -. ds ra \\(ra\\" -.\\} -.el \\{\\ -. ds la <\\" -. ds ra >\\" -. \\" groff's man macros control hyphenation with this register. -. nr HY 1 -.\\} -. -.nr mS 0 -. -. -.\\" Declare start of command synopsis. Sets up hanging indentation. -.de SY -. ie !\\\\n(mS \\{\\ -. nh -. nr mS 1 -. nr mA \\\\n(.j -. ad l -. nr mI \\\\n(.i -. \\} -. el \\{\\ -. br -. ns -. \\} -. -. nr mT \\w'\\fB\\\\\$1\\fP\\ ' -. HP \\\\n(mTu -. B "\\\\\$1" -.. -. -. -.\\" End of command synopsis. Restores adjustment. -.de YS -. in \\\\n(mIu -. ad \\\\n(mA -. hy \\\\n(HY -. nr mS 0 -.. -. -. -.\\" Declare optional option. -.de OP -. ie \\\\n(.\$-1 \\ -. RI "[\\fB\\\\\$1\\fP" "\\ \\\\\$2" "]" -. el \\ -. RB "[" "\\\\\$1" "]" -.. -. -. -.\\" Start URL. -.de UR -. ds m1 \\\\\$1\\" -. nh -. if \\\\n(mH \\{\\ -. \\" Start diversion in a new environment. -. do ev URL-div -. do di URL-div -. \\} -.. -. -. -.\\" End URL. -.de UE -. ie \\\\n(mH \\{\\ -. br -. di -. ev -. -. \\" Has there been one or more input lines for the link text? -. ie \\\\n(dn \\{\\ -. do HTML-NS "" -. \\" Yes, strip off final newline of diversion and emit it. -. do chop URL-div -. do URL-div -\\c -. do HTML-NS -. \\} -. el \\ -. do HTML-NS "\\\\*(m1" -\\&\\\\\$*\\" -. \\} -. el \\ -\\\\*(la\\\\*(m1\\\\*(ra\\\\\$*\\" -. -. hy \\\\n(HY -.. -. -. -.\\" Start email address. -.de MT -. ds m1 \\\\\$1\\" -. nh -. if \\\\n(mH \\{\\ -. \\" Start diversion in a new environment. -. do ev URL-div -. do di URL-div -. \\} -.. -. -. -.\\" End email address. -.de ME -. ie \\\\n(mH \\{\\ -. br -. di -. ev -. -. \\" Has there been one or more input lines for the link text? -. ie \\\\n(dn \\{\\ -. do HTML-NS "" -. \\" Yes, strip off final newline of diversion and emit it. -. do chop URL-div -. do URL-div -\\c -. do HTML-NS -. \\} -. el \\ -. do HTML-NS "\\\\*(m1" -\\&\\\\\$*\\" -. \\} -. el \\ -\\\\*(la\\\\*(m1\\\\*(ra\\\\\$*\\" -. -. hy \\\\n(HY -.. -. -. -.\\" Continuation line for .TP header. -.de TQ -. br -. ns -. TP \\\\\$1\\" no doublequotes around argument! -.. -. -. -.\\" Start example. -.de EX -. nr mE \\\\n(.f -. nf -. nh -. ft CW -.. -. -. -.\\" End example. -.de EE -. ft \\\\n(mE -. fi -. hy \\\\n(HY -.. -. -. -.\\" Start display. -.de DS -. \\" XXX to be written -.. -. -. -.\\" End display. -.de DE -. \\" XXX to be written -.. -. -.\\" EOF - -]]> - - diff --git a/vendor/grammars/sublime_man_page_support/man-groff.JSON-tmLanguage b/vendor/grammars/sublime_man_page_support/man-groff.JSON-tmLanguage deleted file mode 100644 index 70410e73..00000000 --- a/vendor/grammars/sublime_man_page_support/man-groff.JSON-tmLanguage +++ /dev/null @@ -1,85 +0,0 @@ -{ "name": "Man Page (groff/troff)", - "scopeName": "text.groff", - "fileTypes": ["man", "groff"], - "patterns": [ - { - "name": "comment.macro.text.groff", - "match": "^\\.\\\\\".*$", - "comment": "comments" - }, - { - "name": "uri.macro.text.groff", - "begin": "^(\\.UR)\\b(.*)$", - "beginCaptures": { - "1": { "name": "keyword.text.groff" }, - "2": { "name": "constant.other.text.groff" } - }, - "end": "^(\\.UE)", - "endCaptures": { - "1": { "name": "keyword.text.groff" } - }, - "patterns": [ - { - "name": "string.text.groff", - "match": "." - } - ], - "comment": "email address macro" - }, - { - "name": "emailaddress.macro.text.groff", - "begin": "^(\\.MT)\\b(.*)$", - "beginCaptures": { - "1": { "name": "keyword.text.groff" }, - "2": { "name": "constant.other.text.groff" } - }, - "end": "^(\\.ME)", - "endCaptures": { - "1": { "name": "keyword.text.groff" } - }, - "patterns": [ - { - "name": "string.text.groff", - "match": "." - } - ], - "comment": "email address macro" - }, - { - "name": "option.macro.text.groff", - "match": "^(\\.OP)\\s([^\\s]+)\\s?(.*)$", - "captures": { - "1": { "name": "keyword.text.groff" }, - "2": { "name": "support.constant.text.groff" }, - "3": { "name": "string.text.groff" } - }, - "comment": "text style macros" - }, - { - "name": "style.macro.text.groff", - "begin": "^(\\.SM|\\.SB|\\.BI|\\.IB|\\.RI|\\.IR|\\.BR|\\.RB|\\.B|\\.I)\\b", - "beginCaptures": { - "1": { "name": "keyword.text.groff" } - }, - "end": "$", - "patterns": [ - { - "name": "string.text.groff", - "match": ".", - "comment": "catch-all" - } - ], - "comment": "text style macros" - }, - { - "name": "macro.text.groff", - "match": "^(\\.[a-zA-Z]*\\s?)(\\s?.+)?$", - "captures": { - "1": { "name": "keyword.text.groff" }, - "2": { "name": "entity.text.groff" } - }, - "comment": "marco catch-all" - } - ], - "uuid": "9f281c08-ae81-4ccd-b910-a67b17d1952e" -} diff --git a/vendor/grammars/sublime_man_page_support/man-groff.tmLanguage b/vendor/grammars/sublime_man_page_support/man-groff.tmLanguage deleted file mode 100644 index 16b01d0d..00000000 --- a/vendor/grammars/sublime_man_page_support/man-groff.tmLanguage +++ /dev/null @@ -1,184 +0,0 @@ - - - - - fileTypes - - man - groff - - name - Man Page (groff/troff) - patterns - - - comment - comments - match - ^\.\\".*$ - name - comment.macro.text.groff - - - begin - ^(\.UR)\b(.*)$ - beginCaptures - - 1 - - name - keyword.text.groff - - 2 - - name - constant.other.text.groff - - - comment - email address macro - end - ^(\.UE) - endCaptures - - 1 - - name - keyword.text.groff - - - name - uri.macro.text.groff - patterns - - - match - . - name - string.text.groff - - - - - begin - ^(\.MT)\b(.*)$ - beginCaptures - - 1 - - name - keyword.text.groff - - 2 - - name - constant.other.text.groff - - - comment - email address macro - end - ^(\.ME) - endCaptures - - 1 - - name - keyword.text.groff - - - name - emailaddress.macro.text.groff - patterns - - - match - . - name - string.text.groff - - - - - captures - - 1 - - name - keyword.text.groff - - 2 - - name - support.constant.text.groff - - 3 - - name - string.text.groff - - - comment - text style macros - match - ^(\.OP)\s([^\s]+)\s?(.*)$ - name - option.macro.text.groff - - - begin - ^(\.SM|\.SB|\.BI|\.IB|\.RI|\.IR|\.BR|\.RB|\.B|\.I)\b - beginCaptures - - 1 - - name - keyword.text.groff - - - comment - text style macros - end - $ - name - style.macro.text.groff - patterns - - - comment - catch-all - match - . - name - string.text.groff - - - - - captures - - 1 - - name - keyword.text.groff - - 2 - - name - entity.text.groff - - - comment - marco catch-all - match - ^(\.[a-zA-Z]*\s?)(\s?.+)?$ - name - macro.text.groff - - - scopeName - text.groff - uuid - 9f281c08-ae81-4ccd-b910-a67b17d1952e - - diff --git a/vendor/grammars/sublime_man_page_support/man-preview.JSON-tmLanguage b/vendor/grammars/sublime_man_page_support/man-preview.JSON-tmLanguage deleted file mode 100644 index 0d9d524b..00000000 --- a/vendor/grammars/sublime_man_page_support/man-preview.JSON-tmLanguage +++ /dev/null @@ -1,32 +0,0 @@ -{ "name": "Man Page Preview", - "scopeName": "source.man", - "fileTypes": ["man"], - "uuid": "f3ff3e8d-4f68-432c-af44-e00d6e15c81a", - "patterns": [ - { - "name": "string.source.man", - "match": "^(man\\((\\d+)\\))(.+)(man\\((\\d+)\\).*)$", - "captures": { - "0": { "name": "string.source.man" }, - "2": { "name": "constant.source.man" }, - "3": { "name": "keyword.source.man" }, - "5": { "name": "constant.source.man" } - } - }, - { - "name": "string.source.man", - "match": "^(\\d\\.\\d(\\.\\d)?)(.+)(man\\((\\d+)\\).*)$", - "captures": { - "1": { "name": "constant.source.man" }, - "2": { "name": "storage.source.man" }, - "3": { "name": "keyword.source.man" }, - "4": { "name": "string.source.man" }, - "5": { "name": "constant.source.man" } - } - }, - { - "name": "keyword.source.man", - "match": "^[A-Z][A-Z\\s]+\\s$" - } - ] -} \ No newline at end of file diff --git a/vendor/grammars/sublime_man_page_support/man-preview.tmLanguage b/vendor/grammars/sublime_man_page_support/man-preview.tmLanguage deleted file mode 100644 index 0d769033..00000000 --- a/vendor/grammars/sublime_man_page_support/man-preview.tmLanguage +++ /dev/null @@ -1,88 +0,0 @@ - - - - - fileTypes - - man - - name - Man Page Preview - patterns - - - captures - - 0 - - name - string.source.man - - 2 - - name - constant.source.man - - 3 - - name - keyword.source.man - - 5 - - name - constant.source.man - - - match - ^(man\((\d+)\))(.+)(man\((\d+)\).*)$ - name - string.source.man - - - captures - - 1 - - name - constant.source.man - - 2 - - name - storage.source.man - - 3 - - name - keyword.source.man - - 4 - - name - string.source.man - - 5 - - name - constant.source.man - - - match - ^(\d\.\d(\.\d)?)(.+)(man\((\d+)\).*)$ - name - string.source.man - - - match - ^[A-Z][A-Z\s]+\s$ - name - keyword.source.man - - - scopeName - source.man - uuid - f3ff3e8d-4f68-432c-af44-e00d6e15c81a - - diff --git a/vendor/grammars/sublime_man_page_support/new_page.py b/vendor/grammars/sublime_man_page_support/new_page.py deleted file mode 100644 index 8a8a46ea..00000000 --- a/vendor/grammars/sublime_man_page_support/new_page.py +++ /dev/null @@ -1,59 +0,0 @@ -import sublime, sublime_plugin -import os, time -import subprocess - -from sublime_lib.path import root_at_packages, get_package_name - -class ManPagePreview(sublime_plugin.WindowCommand): - def run(self): - # exit if file is dirty, we can't run a man command against a file that doesn't exist - if self.window.active_view().is_dirty(): - o = self.window.get_output_panel("manfail") - o.run_command("insert_snippet", {"contents": "Unable to preview unsaved file."}) - self.window.run_command("show_panel", {"panel": "output.manfail"}) - return - - # process document with groff - curpath = self.window.active_view().file_name() - c = subprocess.Popen(["groff", "-Tascii", "-man", curpath], stdout=subprocess.PIPE) - output, err = c.communicate() - - # run groff output through col to clean it up - col = subprocess.Popen(["col", "-bx"], stdout=subprocess.PIPE, stdin=subprocess.PIPE) - cleanout, err = col.communicate(output) - - # write clean output to new window - v = self.window.new_file() - v.settings().set('default_dir', root_at_packages('User')) - v.set_syntax_file('Packages/Man Page Support/man-preview.tmLanguage') - e = v.begin_edit() - p = v.text_point(0,0) - v.insert(e, p, cleanout) - v.end_edit(e) - -class ManPageNewCommand(sublime_plugin.WindowCommand): - def run(self): - v = self.window.new_file() - v.settings().set('default_dir', root_at_packages('User')) - v.set_syntax_file('Packages/Man Page Support/man-groff.tmLanguage') - - template = """.\\\" Manpage for ${1:}. -.\\\" Contact ${2:} to correct errors or typos. -.TH man 8 "%s" "1.0" "${1:}" -.SH NAME -${1:} -.SH SYNOPSIS -.SY -${1:} -.YS -.SH DESCRIPTION -${1:} -.SH BUGS -No known bugs. -.SH SEE ALSO -.SH AUTHOR -.MT ${2:} -${3:} -.ME -""" %(time.strftime("%B %Y")) - v.run_command("insert_snippet", {"contents": template})