summaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/php-mode.el
diff options
context:
space:
mode:
authorSimeon Simeonov2016-09-06 07:45:52 +0200
committerSimeon Simeonov2016-09-06 07:45:52 +0200
commit385a24ebe7d55fbce0c5529462ba904db8c1796a (patch)
treee643c49537f6532696434d93915d1c5a9392a994 /.emacs.d/lisp/php-mode.el
parent6a3efe35bf8b20b0900dbbf7747b8b8d0d19bd04 (diff)
Upgrade php and yaml ports
Diffstat (limited to '.emacs.d/lisp/php-mode.el')
-rw-r--r--.emacs.d/lisp/php-mode.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/.emacs.d/lisp/php-mode.el b/.emacs.d/lisp/php-mode.el
index 89fc073..13b2f3f 100644
--- a/.emacs.d/lisp/php-mode.el
+++ b/.emacs.d/lisp/php-mode.el
@@ -12,7 +12,7 @@
12(defconst php-mode-version-number "1.17.0" 12(defconst php-mode-version-number "1.17.0"
13 "PHP Mode version number.") 13 "PHP Mode version number.")
14 14
15(defconst php-mode-modified "2016-08-22" 15(defconst php-mode-modified "2016-08-31"
16 "PHP Mode build date.") 16 "PHP Mode build date.")
17 17
18;;; License 18;;; License
@@ -1354,7 +1354,7 @@ a completion list."
1354 ("\\(\\$\\|->\\)\\([a-zA-Z0-9_]+\\)" 2 font-lock-variable-name-face) 1354 ("\\(\\$\\|->\\)\\([a-zA-Z0-9_]+\\)" 2 font-lock-variable-name-face)
1355 1355
1356 ;; Highlight function/method names 1356 ;; Highlight function/method names
1357 ("\\<function\\s-+&?\\(\\sw+\\)\\s-*(" 1 font-lock-function-name-face) 1357 ("\\<function\\s-+&?\\(\\(?:\\sw\\|\\s_\\)+\\)\\s-*(" 1 font-lock-function-name-face)
1358 1358
1359 ;; The dollar sign should not get a variable-name face, below 1359 ;; The dollar sign should not get a variable-name face, below
1360 ;; pattern resets the face to default in case cc-mode sets the 1360 ;; pattern resets the face to default in case cc-mode sets the
@@ -1408,7 +1408,7 @@ a completion list."
1408 1 font-lock-type-face) 1408 1 font-lock-type-face)
1409 1409
1410 ;; Highlight return types in functions and methods. 1410 ;; Highlight return types in functions and methods.
1411 ("function.+:\\s-?\\(\\sw+\\)" 1 font-lock-type-face) 1411 ("function.+:\\s-?\\(\\(?:\\sw\\|\\s_\\)+\\)" 1 font-lock-type-face)
1412 1412
1413 ;; While c-opt-cpp-* highlights the <?php opening tags, it is not 1413 ;; While c-opt-cpp-* highlights the <?php opening tags, it is not
1414 ;; possible to make it highlight short open tags and closing tags 1414 ;; possible to make it highlight short open tags and closing tags