branch: elpa/swift-mode commit b9ad000f4c3f1bb002d9e531cc06c52bfb57291c Author: taku0 <mxxouy6x3m_git...@tatapa.org> Commit: taku0 <mxxouy6x3m_git...@tatapa.org>
Make customs autoloaded --- swift-mode-font-lock.el | 18 ++++++++++++++++++ swift-mode-repl.el | 9 +++++++++ 2 files changed, 27 insertions(+) diff --git a/swift-mode-font-lock.el b/swift-mode-font-lock.el index 4f97828..3367681 100644 --- a/swift-mode-font-lock.el +++ b/swift-mode-font-lock.el @@ -44,6 +44,7 @@ "Font faces." :group 'swift) +;;;###autoload (defcustom swift-mode:highlight-symbols-in-standard-library t "Highlight symbols in the standard library." @@ -51,6 +52,7 @@ :group 'swift-mode:faces :safe 'booleanp) +;;;###autoload (defcustom swift-mode:highlight-symbols-in-foundation-framework t "Highlight symbols in the Foundation framework." @@ -58,6 +60,7 @@ :group 'swift-mode:faces :safe 'booleanp) +;;;###autoload (defface swift-mode:constant-keyword-face '((t . (:inherit font-lock-constant-face))) "Face for highlighting constant keywords @@ -65,6 +68,7 @@ That is, true, false, and nil." :group 'swift-mode:faces) +;;;###autoload (defface swift-mode:preprocessor-keyword-face '((t . (:inherit font-lock-preprocessor-face))) "Face for highlighting preprocessor keywords. @@ -72,71 +76,85 @@ That is, true, false, and nil." Exmpale: #if, #endif, and #selector." :group 'swift-mode:faces) +;;;###autoload (defface swift-mode:keyword-face '((t . (:inherit font-lock-keyword-face))) "Face for highlighting keywords." :group 'swift-mode:faces) +;;;###autoload (defface swift-mode:builtin-method-trailing-closure-face '((t . (:inherit font-lock-builtin-face))) "Face for highlighting builtin methods with trailing closure." :group 'swift-mode:faces) +;;;###autoload (defface swift-mode:builtin-method-face '((t . (:inherit font-lock-builtin-face))) "Face for highlighting builtin methods." :group 'swift-mode:faces) +;;;###autoload (defface swift-mode:builtin-function-trailing-closure-face '((t . (:inherit font-lock-builtin-face))) "Face for highlighting builtin functions with trailing closure." :group 'swift-mode:faces) +;;;###autoload (defface swift-mode:builtin-function-face '((t . (:inherit font-lock-builtin-face))) "Face for highlighting builtin functions." :group 'swift-mode:faces) +;;;###autoload (defface swift-mode:builtin-property-face '((t . (:inherit font-lock-builtin-face))) "Face for highlighting builtin properties." :group 'swift-mode:faces) +;;;###autoload (defface swift-mode:builtin-constant-face '((t . (:inherit font-lock-builtin-face))) "Face for highlighting builtin constants." :group 'swift-mode:faces) +;;;###autoload (defface swift-mode:builtin-enum-case-face '((t . (:inherit font-lock-builtin-face))) "Face for highlighting builtin enum cases." :group 'swift-mode:faces) +;;;###autoload (defface swift-mode:build-config-keyword-face '((t . (:inherit font-lock-builtin-face))) "Face for highlighting build configuration keywords." :group 'swift-mode:faces) +;;;###autoload (defface swift-mode:builtin-type-face '((t . (:inherit font-lock-builtin-face))) "Face for highlighting builtin types." :group 'swift-mode:faces) +;;;###autoload (defface swift-mode:builtin-precedence-group-face '((t . (:inherit font-lock-builtin-face))) "Face for highlighting builtin precedence groups." :group 'swift-mode:faces) +;;;###autoload (defface swift-mode:function-call-face '((t . (:inherit font-lock-function-name-face))) "Face for highlighting function calls." :group 'swift-mode:faces) +;;;###autoload (defface swift-mode:function-name-face '((t . (:inherit font-lock-function-name-face))) "Face for highlighting function names." :group 'swift-mode:faces) +;;;###autoload (defface swift-mode:property-access-face '((t . (:inherit font-lock-variable-name-face))) "Face for highlighting property accesses." diff --git a/swift-mode-repl.el b/swift-mode-repl.el index 9ee371f..9573d72 100644 --- a/swift-mode-repl.el +++ b/swift-mode-repl.el @@ -45,6 +45,7 @@ "REPL." :group 'swift) +;;;###autoload (defcustom swift-mode:repl-executable "xcrun swift" "Path to the Swift CLI. The string is splitted by spaces, then unquoted." @@ -52,6 +53,7 @@ :group 'swift-mode:repl :safe 'stringp) +;;;###autoload (defcustom swift-mode:swift-package-executable "xcrun swift package" "Path to the Swift command for package manipulation. @@ -60,6 +62,7 @@ The string is splitted by spaces, then unquoted." :group 'swift-mode:repl :safe 'stringp) +;;;###autoload (defcustom swift-mode:swift-build-executable "xcrun swift build" "Path to the Swift command for building. @@ -68,6 +71,7 @@ The string is splitted by spaces, then unquoted." :group 'swift-mode:repl :safe 'stringp) +;;;###autoload (defcustom swift-mode:debugger-executable "xcrun lldb" "Path to the debugger command. @@ -76,6 +80,7 @@ The string is splitted by spaces, then unquoted." :group 'swift-mode:repl :safe 'stringp) +;;;###autoload (defcustom swift-mode:ios-deploy-executable "ios-deploy" "Path to ios-deploy command. @@ -84,6 +89,7 @@ The string is splitted by spaces, then unquoted." :group 'swift-mode:repl :safe 'stringp) +;;;###autoload (defcustom swift-mode:simulator-controller-executable "xcrun simctl" "Path to the simulator controller command. @@ -92,6 +98,7 @@ The string is splitted by spaces, then unquoted." :group 'swift-mode:repl :safe 'stringp) +;;;###autoload (defcustom swift-mode:xcodebuild-executable "xcrun xcodebuild" "Path to the Xcode builder. @@ -100,6 +107,7 @@ The string is splitted by spaces, then unquoted." :group 'swift-mode:repl :safe 'stringp) +;;;###autoload (defcustom swift-mode:xcode-select-executable "xcode-select" "Path to the Xcode selector. @@ -108,6 +116,7 @@ The string is splitted by spaces, then unquoted." :group 'swift-mode:repl :safe 'stringp) +;;;###autoload (defcustom swift-mode:debugger-prompt-regexp "^(lldb) +\\|^[0-9]+> +" "Regexp to search a debugger prompt." :type 'string