branch: externals/phps-mode
commit 0071b40aaeec3f6c96cab1fb6097afa9c14db152
Author: Christian Johansson <[email protected]>
Commit: Christian Johansson <[email protected]>
Syntax coloring is now in separate file
---
phps-mode-syntax-color.el | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/phps-mode-syntax-color.el b/phps-mode-syntax-color.el
new file mode 100644
index 0000000000..295367f04f
--- /dev/null
+++ b/phps-mode-syntax-color.el
@@ -0,0 +1,24 @@
+;;; phps-mode-syntax-color.el --- Syntax coloring for major mode -*-
lexical-binding: t -*-
+
+;; Copyright (C) 2018-2021 Free Software Foundation, Inc.
+
+
+;;; Commentary:
+
+
+;;; Code:
+
+
+(defvar
+ phps-mode-syntax-color--token-font-face
+ #s(hash-table size 145 test equal rehash-size 1.5 rehash-threshold 0.8125
data (T_ERROR font-lock-warning-face T_OPEN_TAG font-lock-constant-face
T_OPEN_TAG_WITH_ECHO font-lock-constant-face T_CLOSE_TAG
font-lock-constant-face T_START_HEREDOC font-lock-constant-face T_END_HEREDOC
font-lock-constant-face T_ELLIPSIS font-lock-constant-face T_COALESCE
font-lock-constant-face T_DOUBLE_ARROW font-lock-constant-face T_INC
font-lock-constant-face T_DEC font-lock-constant-face T_IS_IDENTICAL f [...]
+ "Syntax color table for tokens")
+
+(defvar
+ phps-mode-syntax-color--token-for-bookkeeping-p
+ #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8125
data (T_VARIABLE t T_STRING t))
+ "Flags whether token is used for bookkeeping or not.")
+
+
+(provide 'phps-mode-syntax-color)
+;;; phps-mode-syntax-color.el ends here