emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/web-mode e026712 1/2: keyword order


From: ELPA Syncer
Subject: [nongnu] elpa/web-mode e026712 1/2: keyword order
Date: Thu, 2 Sep 2021 12:57:45 -0400 (EDT)

branch: elpa/web-mode
commit e026712f9e79617fa01bcaa6e0cf82f309e34ec7
Author: fxbois <fxbois@gmail.com>
Commit: fxbois <fxbois@gmail.com>

    keyword order
---
 issues/1176.jsx |  5 +++++
 issues/1188.eex | 13 +++++++++++++
 web-mode.el     |  2 +-
 3 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/issues/1176.jsx b/issues/1176.jsx
new file mode 100644
index 0000000..cfede6e
--- /dev/null
+++ b/issues/1176.jsx
@@ -0,0 +1,5 @@
+import React from "react";
+
+function Component() {
+
+}
diff --git a/issues/1188.eex b/issues/1188.eex
new file mode 100644
index 0000000..442fc76
--- /dev/null
+++ b/issues/1188.eex
@@ -0,0 +1,13 @@
+<div>
+  <%= form_for @changeset, "#",
+  id: "post-form",
+  phx_target: @myself,
+  phx_change: "validate",
+  phx_submit: "save" do %>
+
+    <%= textarea f, :body %>
+    <%= error_tag f, :body %>
+
+    <%= submit "Save", phx_disable_with: "Saving..." %>
+  <% end %>
+</div>
diff --git a/web-mode.el b/web-mode.el
index b384f97..64e4636 100644
--- a/web-mode.el
+++ b/web-mode.el
@@ -1421,7 +1421,7 @@ shouldn't be moved back.)")
   (regexp-opt
    (append
     (cdr (assoc "elixir" web-mode-extra-keywords))
-    '("do" "end" "case" "bc" "lc" "for" "if" "cond" "with" "unless" "try" 
"receive" "fn" "defmodule" "defprotocol" "defimpl" "defrecord" "defrecordp" 
"defstruct" "defdelegate" "defcallback" "defexception" "defoverridable" 
"defguard" "defgaurdp" "exit" "after" "rescue" "catch" "else" "raise" "throw" 
"quote" "unquote" "super" "when" "and" "or" "not" "in"))))
+    '("after" "and" "bc" "case" "catch" "cond" "defcallback" "defdelegate" 
"defexception" "defgaurdp" "defguard" "defimpl" "defmodule" "defoverridable" 
"defprotocol" "defrecord" "defrecordp" "defstruct" "do" "else" "end" "exit" 
"fn" "for" "form_for" "if" "in" "lc" "not" "or" "quote" "raise" "receive" 
"rescue" "super" "throw" "try" "unless" "unquote" "when" "with"))))
 
 
 (defvar web-mode-elixir-constants



reply via email to

[Prev in Thread] Current Thread [Next in Thread]