Skip to content

Commit

Permalink
Merge pull request #432 from zonuexe/remove-unused-keywords
Browse files Browse the repository at this point in the history
Remove unused keywords
  • Loading branch information
zonuexe authored Mar 4, 2018
2 parents 2ad220f + a0a63be commit cbd5cf9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions php-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,6 @@ PHP does not have an \"enum\"-like keyword."
"iterable"
"as"
"break"
"catch all"
"catch"
"clone"
"default"
Expand Down Expand Up @@ -1583,12 +1582,6 @@ a completion list."
;; already fontified by another pattern. Note that using OVERRIDE
;; is usually overkill.
`(
;; Highlight variables, e.g. 'var' in '$var' and '$obj->var', but
;; not in $obj->var()
("->\\(\\sw+\\)\\s-*(" 1 'php-method-call)

("\\(\\$\\|->\\)\\([a-zA-Z0-9_]+\\)" 2 'php-property-name)

;; Highlight all upper-cased symbols as constant
("\\<\\([A-Z_][A-Z0-9_]+\\)\\>" 1 'php-constant)

Expand Down

0 comments on commit cbd5cf9

Please sign in to comment.