branch: elpa/powershell
commit 8094b6cffd9b294b1a2d98259b28b523fd82fefd
Author: Joe Schafer <[email protected]>
Commit: Joe Schafer <[email protected]>

    feat: add enum and class as keywords
    
    closes #6
---
 powershell.el | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/powershell.el b/powershell.el
index 010bb134fbe..aaa12f5c123 100644
--- a/powershell.el
+++ b/powershell.el
@@ -312,16 +312,10 @@ The text is assumed to be `regexp-opt' output."
 (defvar powershell-keywords
   (concat "\\_<"
           (regexp-opt
-           '("begin"         "break"         "catch"
-             "continue"      "data"          "do"
-             "default"       "dynamicparam"  "else"
-             "elseif"        "end"           "exit"
-             "filter"        "finally"       "for"
-             "foreach"       "from"          "function"
-             "if"            "in"            "param"
-             "process"       "return"        "switch"
-             "throw"         "trap"          "try"
-             "until"         "where"         "while")
+           '("begin" "break" "catch" "class" "continue" "data" "do" "default"
+             "dynamicparam" "else" "elseif" "end" "enum" "exit" "filter" 
"finally"
+             "for" "foreach" "from" "function" "if" "in" "param" "process"
+             "return" "switch" "throw" "trap" "try" "until" "where" "while")
            t)
           "\\_>")
   "Powershell keywords.")

Reply via email to