diff --git a/autoload/argwrap/hooks/filetype/php/200_smart_brace.vim b/autoload/argwrap/hooks/filetype/php/200_smart_brace.vim index 0a2db46..c2f08ce 100644 --- a/autoload/argwrap/hooks/filetype/php/200_smart_brace.vim +++ b/autoload/argwrap/hooks/filetype/php/200_smart_brace.vim @@ -3,7 +3,7 @@ function! s:dealWithMethodArguments(container) abort " {{{ return 0 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 endif