Skip to content

Commit

Permalink
Have function snippet use filename for the function name
Browse files Browse the repository at this point in the history
  • Loading branch information
DGrady authored and infininight committed Oct 11, 2013
1 parent 9a49203 commit e57cfe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Snippets/function (fun).plist
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>function ${1:out} = ${2:f}(${3:in})
<string>function ${1:out} = ${2:${TM_FILENAME:?${TM_FILENAME/\.m//}:f}}(${3:in})
% ${2/.*/\U$0/} ${4:Description}
% ${1/.*/\U$0/} = ${2/.*/\U$0/}(${6:${3/.*/\U$0/}})
%
Expand Down

0 comments on commit e57cfe2

Please sign in to comment.