Skip to content
This repository was archived by the owner on Dec 1, 2020. It is now read-only.

Commit 85a6cac

Browse files
committed
Merge branch 'sekjun9878/patch-1' into use-function
2 parents 502c96d + cc1d95a commit 85a6cac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/php.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ syntax match phpClassDelimiter contained
682682
" Function name
683683
syn keyword phpKeyword function contained
684684
\ nextgroup=phpFunction skipwhite skipempty
685-
syn match phpFunction /\h\w*/
685+
syn match phpFunction /\(use\sfunction\s*\)\@<!\h\w*/
686686

687687
" Clusters
688688
syn cluster phpClConst contains=phpFunctions,phpClasses,phpStaticClasses,phpIdentifier,phpStatement,phpKeyword,phpOperator,phpSplatOperator,phpStringSingle,phpStringDouble,phpBacktick,phpNumber,phpType,phpBoolean,phpStructure,phpMethodsVar,phpConstants,phpException,phpSuperglobals,phpMagicConstants,phpServerVars

0 commit comments

Comments
 (0)