Skip to content

Instantly share code, notes, and snippets.

@omnisis
Last active December 11, 2015 11:08
Show Gist options
  • Select an option

  • Save omnisis/4591335 to your computer and use it in GitHub Desktop.

Select an option

Save omnisis/4591335 to your computer and use it in GitHub Desktop.
SML/SublimeREPL Configuration files

Contents of [~/Library/Application Support/Sublime Text 2/Packages]

  • SML
    • SML/README.md
    • SML/SML.JSON-tmLanguage
    • SML/SML.tmLanguage
    • SML/Son of Obsidion.tmTheme
  • SublimeREPL/config/SML
    • SublimeREPL/config/SML/Default.sublime-commands
      [{
      "caption": "SublimeREPL: SML",
      "command": "run_existing_window_command", "args":
      { "id": "repl_sml",
      "file": "config/SML/Main.sublime-menu" }
      }]

    • SublimeREPL/config/SML/Main.sublime-menu [
      {
      "id": "tools",
      "children":
      [{
      "caption": "SublimeREPL",
      "mnemonic": "r",
      "id": "SublimeREPL",
      "children":
      [
      {"command": "repl_open",
      "caption": "SML",
      "id": "repl_sml",
      "args": {
      "type": "subprocess",
      "encoding": "utf8",
      "cmd": ["/usr/local/smlnj-110.75/bin/sml"],
      "cwd": "$file_path",
      "external_id": "sml",
      "syntax": "Packages/SML/SML.tmLanguage"
      }
      }]
      }] }]

@omnisis
Copy link
Author

omnisis commented Jan 22, 2013

Also added a symlink in Packages/User:
SML.tmLanguage -> ../SML/SML.tmLanguage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment