From 3213038ae2ff304a9346cf226e7c770f4351e089 Mon Sep 17 00:00:00 2001 From: Atlas Date: Mon, 13 May 2019 19:16:12 +0100 Subject: [PATCH 1/2] update livescript-mode.el --- livescript-mode.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/livescript-mode.el b/livescript-mode.el index 65213e7..e5218e8 100644 --- a/livescript-mode.el +++ b/livescript-mode.el @@ -140,7 +140,7 @@ ;; Customizable Variables ;; -(defconst livescript-mode-version "0.4.1" +(defconst livescript-mode-version "0.4.2" "The version of `livescript-mode'.") (defgroup livescript nil @@ -152,7 +152,7 @@ :type 'integer :group 'livescript) -(defcustom livescript-command "livescript" +(defcustom livescript-command "lsc" "The LiveScript command used for evaluating code." :type 'string :group 'livescript) @@ -167,7 +167,7 @@ :type 'string :group 'livescript) -(defcustom livescript-args-repl '("-i") +(defcustom livescript-args-repl '("") "The arguments to pass to `livescript-command' to start a REPL." :type 'list :group 'livescript) @@ -385,7 +385,7 @@ called `livescript-compiled-buffer-name'." '("if" "else" "new" "return" "try" "catch" "finally" "throw" "break" "continue" "for" "in" "while" "delete" "instanceof" "typeof" "switch" "super" "extends" - "class" "until" "loop")) + "class" "until" "loop" "require")) ;; Reserved keywords either by JS or CS. (defvar livescript-js-reserved @@ -396,7 +396,7 @@ called `livescript-compiled-buffer-name'." ;; LiveScript keywords. (defvar livescript-cs-keywords '("then" "unless" "and" "or" "is" "own" - "isnt" "not" "of" "by" "when")) + "isnt" "not" "of" "by" "when" "typeof!" "require")) ;; Iced LiveScript keywords (defvar iced-livescript-cs-keywords From 906cd05745153d1498014d627a0d1bab5f0652c9 Mon Sep 17 00:00:00 2001 From: Atlas Date: Mon, 13 May 2019 19:27:26 +0100 Subject: [PATCH 2/2] a few more keywords --- livescript-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/livescript-mode.el b/livescript-mode.el index e5218e8..661804f 100644 --- a/livescript-mode.el +++ b/livescript-mode.el @@ -396,7 +396,8 @@ called `livescript-compiled-buffer-name'." ;; LiveScript keywords. (defvar livescript-cs-keywords '("then" "unless" "and" "or" "is" "own" - "isnt" "not" "of" "by" "when" "typeof!" "require")) + "isnt" "not" "of" "by" "when" "typeof!" + "require!" "export")) ;; Iced LiveScript keywords (defvar iced-livescript-cs-keywords