File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 87
87
" +" " ++" " +=" " ," " -" " -" " --" " -=" " ->" " ."
88
88
" .=" " /" " /=" " :" " ::" " <" " <<" " <<=" " <=" " <=>"
89
89
" <>" " =" " ==" " ===" " =>" " >" " >=" " >>" " >>=" " ?"
90
- " ?: " " ? ?" " ??=" " ?->" " @" " \\ " " ^" " ^=" " |" " |=" " ||" ))
90
+ " ??" " ??=" " ?->" " @" " \\ " " ^" " ^=" " |" " |=" " ||" ))
91
91
" PHP operators for tree-sitter font-locking." )
92
92
93
93
(defconst php-ts-mode--magical-constants
@@ -190,6 +190,10 @@ the available version of Tree-sitter for PHP."
190
190
`((interpolation " ${" @font-lock-misc-punctuation-face)
191
191
(interpolation " }" @font-lock-misc-punctuation-face))
192
192
193
+ :language 'php
194
+ :feature 'operator
195
+ `([,@php-ts-mode--operators ] @font-lock-operator-face)
196
+
193
197
:language 'php
194
198
:feature 'string
195
199
`((string ) @font-lock-string-face)
You can’t perform that action at this time.
0 commit comments