branch: externals/phps-mode
commit 989cc7e53ceda9dbebb83d1b86b947c8fb817835
Author: Christian Johansson <[email protected]>
Commit: Christian Johansson <[email protected]>
Fixed flycheck warning about semantic
---
phps-mode.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/phps-mode.el b/phps-mode.el
index 58eec94..905f436 100644
--- a/phps-mode.el
+++ b/phps-mode.el
@@ -38,8 +38,8 @@
;; TODO 1. Get semantic working based on zend_language_parser.y
;; TODO 2. Add support for flymake
;; DONE 3. Add support for flycheck
-;; TODO 4. Get syntax coloring working based on semantic data (as js2-mode)
-;; TODO 5. Get indent-functions working
+;; DONE 4. Get syntax coloring working based on lexer tokens
+;; DONE 5. Get indent-functions working
;; NOTE use wisent-parse-toggle-verbose-flag and (semantic-debug) to debug
parsing
@@ -57,6 +57,8 @@
(autoload 'phps-mode/tags-init "phps-tags")
(autoload 'phps-mode/semantic-init "phps-semantic")
+(autoload 'semantic-new-buffer-fcn "semantic")
+
(defvar phps-mode/use-psr-2 t
"Whether to use PSR-2 guidelines for white-space or not.")