diff options
| author | USAMI Kenta <tadsan@zonu.me> | 2022-03-09 22:44:39 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-09 14:44:39 +0100 |
| commit | 96eec1dd1fc2ba6458ab17d9647e739e64953946 (patch) | |
| tree | 530cd4cfe7b30d609a033ef7455f0e2c5b340428 | |
| parent | 51b9bf1276445faebfbad636d9b6a39dc57b22bc (diff) | |
Add php keywords (#31)
* Add PHP keywords and remove obsolete (removed) words
* Add phps-mode as an alias of php-mode
| -rw-r--r-- | cape.el | 24 |
1 files changed, 14 insertions, 10 deletions
@@ -255,17 +255,20 @@ auto completion does not pop up too aggressively." "ucfirst" "umask" "undef" "unless" "unlink" "unpack" "unshift" "untie" "until" "use" "utime" "values" "vec" "wait" "waitpid" "wantarray" "warn" "while" "write" "x" "xor" "y") - (php-mode + (php-mode ;; https://www.php.net/manual/reserved.php + "Closure" "Generator" "Exception" "Error" "Throwable" "__CLASS__" "__DIR__" "__FILE__" "__FUNCTION__" "__LINE__" "__METHOD__" - "__NAMESPACE__" "_once" "abstract" "and" "array" "as" "break" "case" - "catch" "cfunction" "class" "clone" "const" "continue" "declare" - "default" "die" "do" "echo" "else" "elseif" "empty" "enddeclare" - "endfor" "endforeach" "endif" "endswitch" "endwhile" "eval" "exception" - "exit" "extends" "final" "for" "foreach" "function" "global" - "goto" "if" "implements" "include" "instanceof" "interface" - "isset" "list" "namespace" "new" "old_function" "or" "php_user_filter" - "print" "private" "protected" "public" "require" "require_once" "return" - "static" "switch" "this" "throw" "try" "unset" "use" "var" "while" "xor") + "__NAMESPACE__" "__TRAIT__" + "abstract" "and" "array" "as" "bool" "break" "callable" "case" "catch" + "class" "clone" "const" "continue" "declare" "default" "die" "do" "echo" + "else" "elseif" "empty" "enddeclare" "endfor" "endforeach" "endif" + "endswitch" "endwhile" "enum" "eval" "exit" "extends" "false" "float" + "final" "finally" "for" "foreach" "fn" "function" "global" "goto" "if" + "implements" "include" "include_once" "instanceof" "insteadof" "interface" + "isset" "iterable" "list" "match" "namespace" "new" "null" "object" "or" + "print" "private" "protected" "public" "readonly" "require" "require_once" + "return" "self" "static" "string" "switch" "this" "throw" "trait" "true" + "try" "unset" "use" "var" "void" "while" "xor" "yield" "yeild from") (python-mode ;; https://docs.python.org/3/reference/lexical_analysis.html#keywords "False" "None" "True" "and" "as" "assert" "break" "class" "continue" "def" "del" "elif" "else" "except" "exec" "finally" "for" "from" "global" "if" @@ -320,6 +323,7 @@ auto completion does not pop up too aggressively." (cperl-mode perl-mode) (jde-mode java-mode) (ess-julia-mode julia-mode) + (phps-mode php-mode) (enh-ruby-mode ruby-mode)) "Alist of major modes and keywords." :type 'alist) |
