summaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/php-mode.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/php-mode.el')
-rw-r--r--.emacs.d/lisp/php-mode.el19
1 files changed, 11 insertions, 8 deletions
diff --git a/.emacs.d/lisp/php-mode.el b/.emacs.d/lisp/php-mode.el
index 4284d43..cd35d7d 100644
--- a/.emacs.d/lisp/php-mode.el
+++ b/.emacs.d/lisp/php-mode.el
@@ -6,13 +6,13 @@
6 6
7;; Author: Eric James Michael Ritz 7;; Author: Eric James Michael Ritz
8;; URL: https://github.com/ejmr/php-mode 8;; URL: https://github.com/ejmr/php-mode
9;; Version: 1.18.0 9;; Version: 1.18.2
10;; Package-Requires: ((emacs "24") (cl-lib "0.5")) 10;; Package-Requires: ((emacs "24") (cl-lib "0.5"))
11 11
12(defconst php-mode-version-number "1.18.0" 12(defconst php-mode-version-number "1.18.2"
13 "PHP Mode version number.") 13 "PHP Mode version number.")
14 14
15(defconst php-mode-modified "2017-01-27" 15(defconst php-mode-modified "2017-02-20"
16 "PHP Mode build date.") 16 "PHP Mode build date.")
17 17
18;;; License 18;;; License
@@ -523,6 +523,9 @@ PHP does not have an \"enum\"-like keyword."
523 php '("function" 523 php '("function"
524 "use")) 524 "use"))
525 525
526(c-lang-defconst c-other-block-decl-kwds
527 php '("namespace"))
528
526(c-lang-defconst c-other-kwds 529(c-lang-defconst c-other-kwds
527 "Keywords not accounted for by any other `*-kwds' language constant." 530 "Keywords not accounted for by any other `*-kwds' language constant."
528 php '( 531 php '(
@@ -608,11 +611,12 @@ but only if the setting is enabled"
608 (arglist-cont-nonempty . (first php-lineup-cascaded-calls c-lineup-arglist)) 611 (arglist-cont-nonempty . (first php-lineup-cascaded-calls c-lineup-arglist))
609 (arglist-intro . php-lineup-arglist-intro) 612 (arglist-intro . php-lineup-arglist-intro)
610 (case-label . +) 613 (case-label . +)
611 (class-open . -) 614 (class-open . 0)
612 (comment-intro . 0) 615 (comment-intro . 0)
613 (inlambda . 0) 616 (inlambda . 0)
614 (lambda-intro-cont . +)
615 (inline-open . 0) 617 (inline-open . 0)
618 (namespace-open . 0)
619 (lambda-intro-cont . +)
616 (label . +) 620 (label . +)
617 (statement-cont . (first php-lineup-cascaded-calls php-lineup-string-cont +)) 621 (statement-cont . (first php-lineup-cascaded-calls php-lineup-string-cont +))
618 (substatement-open . 0) 622 (substatement-open . 0)
@@ -1349,11 +1353,10 @@ a completion list."
1349 (,(rx "$" (in "A-Za-z_") (* (in "0-9A-Za-z_"))) 1353 (,(rx "$" (in "A-Za-z_") (* (in "0-9A-Za-z_")))
1350 0 font-lock-variable-name-face prepend nil) 1354 0 font-lock-variable-name-face prepend nil)
1351 (,(concat "\\s-@" (regexp-opt php-phpdoc-type-tags) "\\s-+" 1355 (,(concat "\\s-@" (regexp-opt php-phpdoc-type-tags) "\\s-+"
1352 "\\(" (rx (+ (? "\\") (+ (in "0-9A-Za-z")) (? "[]") (? "|"))) "\\)+" 1356 "\\(" (rx (+ (? "\\") (+ (in "0-9A-Z_a-z")) (? "[]") (? "|"))) "\\)+")
1353 "\\(?:\\s-\\|$\\)")
1354 1 font-lock-string-face prepend nil) 1357 1 font-lock-string-face prepend nil)
1355 (,(concat "\\(?:|\\|\\s-\\)\\(" 1358 (,(concat "\\(?:|\\|\\s-\\)\\("
1356 (regexp-opt php-phpdoc-type-keywords) 1359 (regexp-opt php-phpdoc-type-keywords 'words)
1357 "\\)") 1360 "\\)")
1358 1 font-lock-type-face prepend nil) 1361 1 font-lock-type-face prepend nil)
1359 ("https?://[^\n\t ]+" 1362 ("https?://[^\n\t ]+"