Browse files

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

…ain O'Dea.

git-svn-id: 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
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" "">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
- <string>-module (${1:module}).</string>
+ <string>-module (${1:${TM_FILEPATH/^.*\/(.*)\.erl$/$1/g}}).</string>
<string>Module Directive</string>

0 comments on commit 9d1ad14

Please sign in to comment.