From 2cc4a8a49aaa291d88366e4681a398588712e75a Mon Sep 17 00:00:00 2001 From: Simon Alberny Date: Tue, 27 Jan 2015 09:30:44 +0100 Subject: [PATCH] Variable trimed on setters/getters creation when default value is set --- plugin/php-refactoring-toolbox.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/php-refactoring-toolbox.vim b/plugin/php-refactoring-toolbox.vim index ef2b9eb..548ebb0 100644 --- a/plugin/php-refactoring-toolbox.vim +++ b/plugin/php-refactoring-toolbox.vim @@ -86,7 +86,7 @@ function! PhpCreateSettersAndGetters() " {{{ normal gg let l:properties = [] while search(s:php_regex_member_line, 'eW') > 0 - normal w"xyw + normal w"xye call add(l:properties, @x) endwhile for l:property in l:properties