Permalink
Browse files

Make the default value match the current filename -ext. Patch from Al…

…ain O'Dea.

git-svn-id: http://svn.textmate.org/trunk/Bundles/Erlang.tmbundle@8940 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent 3af9eb3 commit 9d1ad1445d3ee8b9bcac736d84514bf7bd13c703 @infininight infininight committed Feb 18, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 Snippets/Module Directive.tmSnippet
View
4 Snippets/Module Directive.tmSnippet
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
- <string>-module (${1:module}).</string>
+ <string>-module (${1:${TM_FILEPATH/^.*\/(.*)\.erl$/$1/g}}).</string>
<key>name</key>
<string>Module Directive</string>
<key>scope</key>

0 comments on commit 9d1ad14

Please sign in to comment.