Fix PHP smart brace hook for static method
This commit is contained in:
parent
f3d122d9b1
commit
2c997ed781
@ -3,7 +3,7 @@ function! s:dealWithMethodArguments(container) abort " {{{
|
|||||||
return 0
|
return 0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if a:container.prefix !~? '\v^%(public|protected|private)\s+function\s+\S+\s*\($'
|
if a:container.prefix !~? '\v^%(public|protected|private)(\s+static)?\s+function\s+\S+\s*\($'
|
||||||
return 0
|
return 0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user