diff --git a/Commands/Sparkup Expand.tmCommand b/Commands/Sparkup Expand.tmCommand index 3cacb4e..1b94f40 100644 --- a/Commands/Sparkup Expand.tmCommand +++ b/Commands/Sparkup Expand.tmCommand @@ -4,12 +4,30 @@ beforeRunningCommand nop + command + #!/usr/bin/env python +import sys; import os; sys.path.append(os.getenv('TM_BUNDLE_SUPPORT')); import sparkup + +# You may change these options to your liking. +# Those starting with # are comments (disabled). +options = { + 'textmate': True, + 'no-last-newline': True, + #'start-guide-format': 'Begin %s', + #'end-guide-format': 'End %s', +} + +sparkup.Router().start(options=options) + fallbackInput + line input selection + keyEquivalent + @e name - Sparkup Expand + Zen+Sparkup Expand output - replaceSelectedText + insertAsSnippet uuid EF1F0ADB-1A4D-411A-9BDB-FF9837072CB2 diff --git a/Macros/Balance Tag.tmMacro b/Macros/Balance Tag.tmMacro index be01ea9..60fe545 100644 --- a/Macros/Balance Tag.tmMacro +++ b/Macros/Balance Tag.tmMacro @@ -33,7 +33,7 @@ keyEquivalent @d name - Balance Tag + Select Tag uuid zen-balance-outward-2 diff --git a/info.plist b/info.plist index 9e97386..96124e3 100644 --- a/info.plist +++ b/info.plist @@ -2,13 +2,25 @@ + mainMenu + + items + + EF1F0ADB-1A4D-411A-9BDB-FF9837072CB2 + zen-balance-outward-2 + zen-remove-tag-3 + FC3E137B-6E92-40C9-BAF6-ED13182D7269 + + submenus + + name kCode ordering + EF1F0ADB-1A4D-411A-9BDB-FF9837072CB2 zen-remove-tag-3 zen-balance-outward-2 - EF1F0ADB-1A4D-411A-9BDB-FF9837072CB2 FC3E137B-6E92-40C9-BAF6-ED13182D7269 uuid diff --git a/sparkup.py b/sparkup.py deleted file mode 100644 index 14b201c..0000000 --- a/sparkup.py +++ /dev/null @@ -1 +0,0 @@ -sparkup \ No newline at end of file