Merge pull request #519 from jdeniau/patch-2

Fix copy/paste bug
This commit is contained in:
Louis Pilfold 2015-02-12 13:07:49 +00:00
commit c522e2bf7b

View File

@ -111,7 +111,6 @@ public function get${1/\w+\s*/\u$0/}()
{ {
return $this->$1;$3 return $this->$1;$3
} }
$0
endsnippet endsnippet
snippet setter "PHP Class Setter" b snippet setter "PHP Class Setter" b
@ -266,7 +265,7 @@ namespace ${1:`!p
abspath = os.path.abspath(path) abspath = os.path.abspath(path)
m = re.search(r'[A-Z].+(?=/)', abspath) m = re.search(r'[A-Z].+(?=/)', abspath)
if m: if m:
snip.rv = m.group().replace('/', '\\') snip.rv = m.group().replace('/', '\\')
`}; `};
endsnippet endsnippet
@ -277,7 +276,7 @@ namespace ${1:`!p
abspath = os.path.abspath(path) abspath = os.path.abspath(path)
m = re.search(r'[A-Z].+(?=/)', abspath) m = re.search(r'[A-Z].+(?=/)', abspath)
if m: if m:
snip.rv = m.group().replace('/', '\\') snip.rv = m.group().replace('/', '\\')
`}; `};
/** /**
@ -287,7 +286,6 @@ if m:
class $1 class $1
{ {
} }
$0
endsnippet endsnippet
snippet interface "Interface declaration template" b snippet interface "Interface declaration template" b
@ -297,7 +295,7 @@ namespace ${1:`!p
abspath = os.path.abspath(path) abspath = os.path.abspath(path)
m = re.search(r'[A-Z].+(?=/)', abspath) m = re.search(r'[A-Z].+(?=/)', abspath)
if m: if m:
snip.rv = m.group().replace('/', '\\') snip.rv = m.group().replace('/', '\\')
`}; `};
/** /**
@ -306,7 +304,7 @@ if m:
*/ */
interface $1 interface $1
{ {
public function ${3:someFunction}();$4 public function ${3:someFunction}();$4
} }
endsnippet endsnippet