diff options
| author | Simeon Simeonov | 2016-09-06 07:45:52 +0200 |
|---|---|---|
| committer | Simeon Simeonov | 2016-09-06 07:45:52 +0200 |
| commit | 385a24ebe7d55fbce0c5529462ba904db8c1796a (patch) | |
| tree | e643c49537f6532696434d93915d1c5a9392a994 /.emacs.d | |
| parent | 6a3efe35bf8b20b0900dbbf7747b8b8d0d19bd04 (diff) | |
Upgrade php and yaml ports
Diffstat (limited to '.emacs.d')
| -rw-r--r-- | .emacs.d/lisp/php-mode.el | 6 | ||||
| -rw-r--r-- | .emacs.d/lisp/yaml-mode.el | 4 |
2 files changed, 5 insertions, 5 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 |
diff --git a/.emacs.d/lisp/yaml-mode.el b/.emacs.d/lisp/yaml-mode.el index 9274a5b..2cc7392 100644 --- a/.emacs.d/lisp/yaml-mode.el +++ b/.emacs.d/lisp/yaml-mode.el | |||
| @@ -148,7 +148,7 @@ that key is pressed to begin a block literal." | |||
| 148 | (defconst yaml-scalar-context-re | 148 | (defconst yaml-scalar-context-re |
| 149 | (concat "\\(?:^\\(?:--- \\)?\\|{\\|\\(?: *[-,] +\\)+\\) *" | 149 | (concat "\\(?:^\\(?:--- \\)?\\|{\\|\\(?: *[-,] +\\)+\\) *" |
| 150 | "\\(?:" yaml-bare-scalar-re " *: \\)?") | 150 | "\\(?:" yaml-bare-scalar-re " *: \\)?") |
| 151 | "Regexp indicating the begininng of a scalar context.") | 151 | "Regexp indicating the beginning of a scalar context.") |
| 152 | 152 | ||
| 153 | (defconst yaml-nested-map-re | 153 | (defconst yaml-nested-map-re |
| 154 | (concat ".*: *\\(?:&.*\\|{ *\\|" yaml-tag-re " *\\)?$") | 154 | (concat ".*: *\\(?:&.*\\|{ *\\|" yaml-tag-re " *\\)?$") |
| @@ -432,7 +432,7 @@ cross boundaries of block literals." | |||
| 432 | yaml-mode-version) | 432 | yaml-mode-version) |
| 433 | 433 | ||
| 434 | ;;;###autoload | 434 | ;;;###autoload |
| 435 | (add-to-list 'auto-mode-alist '("\\.e?ya?ml\\'" . yaml-mode)) | 435 | (add-to-list 'auto-mode-alist '("\\.\\(e?ya?\\|ra\\)ml\\'" . yaml-mode)) |
| 436 | 436 | ||
| 437 | (provide 'yaml-mode) | 437 | (provide 'yaml-mode) |
| 438 | 438 | ||
