Permalink
Browse files

Added snippet for qualified imports.

Automatically suggests the initial letter of the innermost
module name as the qualified name.
  • Loading branch information...
1 parent 0d59d1a commit ff4ab09b2eeedf4b32a4d7ef3b59ee2d1df06766 @aninhumer aninhumer committed Nov 24, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 Qualified.sublime-snippet
@@ -0,0 +1,7 @@
+<snippet>
+ <content><![CDATA[
+import qualified ${1:Module} as ${2:${1/(\u\w*\.)*(\u)\w*/$2/}}
+]]></content>
+ <tabTrigger>qualified</tabTrigger>
+ <scope>source.haskell</scope>
+</snippet>

0 comments on commit ff4ab09

Please sign in to comment.