diff options
| -rw-r--r-- | .emacs.d/lisp/php-mode.el | 10 | ||||
| -rw-r--r-- | .emacs.d/lisp/yaml-mode.el | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/.emacs.d/lisp/php-mode.el b/.emacs.d/lisp/php-mode.el index d18443d..9498d4d 100644 --- a/.emacs.d/lisp/php-mode.el +++ b/.emacs.d/lisp/php-mode.el | |||
| @@ -997,9 +997,12 @@ PHP heredoc." | |||
| 997 | (cons "PHP" (c-lang-const c-mode-menu php))) | 997 | (cons "PHP" (c-lang-const c-mode-menu php))) |
| 998 | 998 | ||
| 999 | 999 | ||
| 1000 | ;;; Faces | 1000 | ;; Faces |
| 1001 | |||
| 1002 | ;;;###autoload | ||
| 1001 | (defgroup php-faces nil | 1003 | (defgroup php-faces nil |
| 1002 | "Faces used in PHP Mode" | 1004 | "Faces used in PHP Mode" |
| 1005 | :tag "PHP Faces" | ||
| 1003 | :group 'php | 1006 | :group 'php |
| 1004 | :group 'faces) | 1007 | :group 'faces) |
| 1005 | 1008 | ||
| @@ -1311,6 +1314,7 @@ current `tags-file-name'." | |||
| 1311 | 1314 | ||
| 1312 | If non-nil, this shadows the value of `browse-url-browser-function' when | 1315 | If non-nil, this shadows the value of `browse-url-browser-function' when |
| 1313 | calling `php-search-documentation' or `php-search-local-documentation'." | 1316 | calling `php-search-documentation' or `php-search-local-documentation'." |
| 1317 | :group 'php | ||
| 1314 | :type '(choice (const :tag "default" nil) function) | 1318 | :type '(choice (const :tag "default" nil) function) |
| 1315 | :link '(variable-link browse-url-browser-function)) | 1319 | :link '(variable-link browse-url-browser-function)) |
| 1316 | 1320 | ||
| @@ -1428,7 +1432,7 @@ a completion list." | |||
| 1428 | (format "%smanual/%s/" php-site-url php-manual-url)))) | 1432 | (format "%smanual/%s/" php-site-url php-manual-url)))) |
| 1429 | 1433 | ||
| 1430 | 1434 | ||
| 1431 | ;;; Font Lock | 1435 | ;; Font Lock |
| 1432 | (defconst php-phpdoc-type-keywords | 1436 | (defconst php-phpdoc-type-keywords |
| 1433 | (list "string" "integer" "int" "boolean" "bool" "float" | 1437 | (list "string" "integer" "int" "boolean" "bool" "float" |
| 1434 | "double" "object" "mixed" "array" "resource" "$this" | 1438 | "double" "object" "mixed" "array" "resource" "$this" |
| @@ -1640,10 +1644,12 @@ The output will appear in the buffer *PHP*." | |||
| 1640 | 1644 | ||
| 1641 | (defcustom php-class-suffix-when-insert "::" | 1645 | (defcustom php-class-suffix-when-insert "::" |
| 1642 | "Suffix for inserted class." | 1646 | "Suffix for inserted class." |
| 1647 | :group 'php | ||
| 1643 | :type 'string) | 1648 | :type 'string) |
| 1644 | 1649 | ||
| 1645 | (defcustom php-namespace-suffix-when-insert "\\" | 1650 | (defcustom php-namespace-suffix-when-insert "\\" |
| 1646 | "Suffix for inserted namespace." | 1651 | "Suffix for inserted namespace." |
| 1652 | :group 'php | ||
| 1647 | :type 'string) | 1653 | :type 'string) |
| 1648 | 1654 | ||
| 1649 | (defvar php--re-namespace-pattern | 1655 | (defvar php--re-namespace-pattern |
diff --git a/.emacs.d/lisp/yaml-mode.el b/.emacs.d/lisp/yaml-mode.el index 615de6f..90e2109 100644 --- a/.emacs.d/lisp/yaml-mode.el +++ b/.emacs.d/lisp/yaml-mode.el | |||
| @@ -203,6 +203,8 @@ that key is pressed to begin a block literal." | |||
| 203 | (modify-syntax-entry ?\\ "\\" syntax-table) | 203 | (modify-syntax-entry ?\\ "\\" syntax-table) |
| 204 | (modify-syntax-entry ?- "_" syntax-table) | 204 | (modify-syntax-entry ?- "_" syntax-table) |
| 205 | (modify-syntax-entry ?_ "_" syntax-table) | 205 | (modify-syntax-entry ?_ "_" syntax-table) |
| 206 | (modify-syntax-entry ?& "." syntax-table) | ||
| 207 | (modify-syntax-entry ?* "." syntax-table) | ||
| 206 | (modify-syntax-entry ?\( "." syntax-table) | 208 | (modify-syntax-entry ?\( "." syntax-table) |
| 207 | (modify-syntax-entry ?\) "." syntax-table) | 209 | (modify-syntax-entry ?\) "." syntax-table) |
| 208 | (modify-syntax-entry ?\{ "(}" syntax-table) | 210 | (modify-syntax-entry ?\{ "(}" syntax-table) |
