Skip to content

Commit da14038

Browse files
committed
Merge pull request #17 from phux/master
fixed typo in 'abstract' for function line regex.
2 parents aa004b3 + be8d073 commit da14038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/php-refactoring-toolbox.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ let s:php_regex_use_line = '^use\_s\+[\\_A-Za-z0-9]\+\%(\_s\+as\_s\+[_A-Za-z0
7777
let s:php_regex_class_line = '^\%(\%(final\s\+\|abstract\s\+\)\?class\>\|trait\>\)'
7878
let s:php_regex_const_line = '^\s*const\s\+[^;]\+;'
7979
let s:php_regex_member_line = '^\s*\%(\%(private\|protected\|public\|static\)\s*\)\+\$'
80-
let s:php_regex_func_line = '^\s*\%(\%(private\|protected\|public\|static\|abtsract\)\s*\)*function\_s\+'
80+
let s:php_regex_func_line = '^\s*\%(\%(private\|protected\|public\|static\|abstract\)\s*\)*function\_s\+'
8181

8282
let s:php_regex_local_var = '\$\<\%(this\>\)\@![A-Za-z0-9]*'
8383
let s:php_regex_assignment = '+=\|-=\|*=\|/=\|=\~\|!=\|='

0 commit comments

Comments
 (0)