Skip to content

Commit

Permalink
Merge pull request #217 from adimit/patch-1
Browse files Browse the repository at this point in the history
Fix import.qualified.
  • Loading branch information
chrisdone committed Dec 17, 2013
2 parents c9424aa + 54e6ccd commit 29c0b98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snippets/haskell-mode/import.qualified
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
# contributor: Luke Hoersten <luke@hoersten.org>
# --
import qualified ${1:Module} as ${2:${1:$(let ((name (car (last (split-string yas-text "\\\.")))))
(if (not (nil-blank-string name)) ""
(subseq name 0 1)))}}$0
(if (= 0 (length name)) ""
(subseq name 0 1)))}}$0

0 comments on commit 29c0b98

Please sign in to comment.