From 1bd096ceb8685994acacf1a28a811b61e9e38fbb Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 3 Oct 2017 02:52:30 +0200 Subject: [PATCH] Remove lb6 file templates (unused) --- modules/feature/file-templates/config.el | 2 - .../templates/lb6-mode/__Info.plist | 99 ------------------- .../templates/lb6-mode/__default.js | 40 -------- 3 files changed, 141 deletions(-) delete mode 100644 modules/feature/file-templates/templates/lb6-mode/__Info.plist delete mode 100644 modules/feature/file-templates/templates/lb6-mode/__default.js diff --git a/modules/feature/file-templates/config.el b/modules/feature/file-templates/config.el index 621271a7a..228e349a3 100644 --- a/modules/feature/file-templates/config.el +++ b/modules/feature/file-templates/config.el @@ -72,8 +72,6 @@ ("/bower\\.json$" "__bower.json" json-mode) ("/gulpfile\\.js$" "__gulpfile.js" js-mode) ("/webpack\\.config\\.js$" "__webpack.config.js" js-mode) - ("\\.lbaction/.+/Info.plist$" "__Info.plst" lb6-mode) - ("\\.lbaction/.+/\\(default\\|suggestions\\)\\.js$" "__default.js" lb6-mode) ;; Lua ("/main\\.lua$" "__main.lua" love-mode) ("/conf\\.lua$" "__conf.lua" love-mode) diff --git a/modules/feature/file-templates/templates/lb6-mode/__Info.plist b/modules/feature/file-templates/templates/lb6-mode/__Info.plist deleted file mode 100644 index 74a6d0d1d..000000000 --- a/modules/feature/file-templates/templates/lb6-mode/__Info.plist +++ /dev/null @@ -1,99 +0,0 @@ -# -*- mode: snippet -*- -# name: Info.plist File Template -# condition: (eq major-mode 'nxml-mode) -# -- - - - - - - CFBundleIdentifier - io.henrik.launchbar.${1:$(replace-regexp-in-string "[^a-zA-Z0-9]" "" yas-text)} - - CFBundleName - ${1:Action Name} - - - - - CFBundleVersion - ${2:1.0.0} - - CFBundleIconFile - icon - - LBDebugLogEnabled - - - - - - - - - - - LBScripts - - LBDefaultScript - - LBScriptName - default.js - - LBRunInBackground - - - LBRequiresArgument - - - LBAcceptedArgumentTypes - - string - - - LBReturnsResult - - - LBReturnType - string - - - - LBDescription - - LBAuthor - Henrik Lissner - - LBWebsite - http://v0.io/launchbar - - LBEmail - contact@henrik.io - - LBTwitter - @vnought - - LBSummary - ${3:A short summary of this action} - - LBArgument - ${4:Describe the input(s) for this action}${5: - - LBResult - ${6:Describe the result type} - - }${7:LBRequirements - ${8:The requirements for this action to work}} - - - - - LBUpdateURL - https://github.com/hlissner/lb6-${2:actions}/blob/master/$1.lbaction/Contents/Info.plist - - LBDownloadURL - https://dl.v0.io/launchbar/$1.lbaction - - - - \ No newline at end of file diff --git a/modules/feature/file-templates/templates/lb6-mode/__default.js b/modules/feature/file-templates/templates/lb6-mode/__default.js deleted file mode 100644 index e0a2a28b0..000000000 --- a/modules/feature/file-templates/templates/lb6-mode/__default.js +++ /dev/null @@ -1,40 +0,0 @@ -# -*- mode: snippet -*- -# name: default.js file template -# condition: (memq major-mode '(js-mode js2-mode)) -# -- -/*global Lib*/ - -${1:include("shared/${2:lib.js}"); - -}// This function is called when the user runs the action without any argument, -// e.g. by selecting it and hitting enter, space or the right arrow key -// (assuming the action does not specify that it requires an argument in its -// Info.plist). run is also called as a fallback if the more specific runWith... -// function for a given argument type (see below) is not implemented. -function run() { - $0 -} - -// This function is called after text input or when the user sends text to the -// action using Send To. -function runWithString(string) { - -} - -// This function is called when a URL item is sent to the action. This is also -// the case when a Action URL is called. -function runWithURL(url, details) { - -} - -// This function is called when the user sends a result item of a previous -// action run to the action using Send To. -function runWithItem(item) { - -} - -// This function is called after showing a file open dialog or when the user -// sends one or more files or folders to the action using Send To. -function runWithPaths(paths) { - -}