summaryrefslogtreecommitdiff
path: root/luasnip_snippets/haskell.json
diff options
context:
space:
mode:
Diffstat (limited to 'luasnip_snippets/haskell.json')
-rw-r--r--luasnip_snippets/haskell.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/luasnip_snippets/haskell.json b/luasnip_snippets/haskell.json
new file mode 100644
index 0000000..f9cfd48
--- /dev/null
+++ b/luasnip_snippets/haskell.json
@@ -0,0 +1,15 @@
+{
+ "imp": {
+ "prefix": "imp",
+ "description": "Simple import",
+ "body": "import ${1:${2:Data}.${0:Text}}",
+ "luasnip": {
+ "priority": -50
+ }
+ },
+ "imp2": {
+ "prefix": "imp2",
+ "description": "Selective import",
+ "body": "import ${1:${2:Data}.${3:Text}} ($4)$0"
+ }
+}