From c925889b086b98c0282713814de75f950d40edd2 Mon Sep 17 00:00:00 2001 From: Guy Bransgrove Date: Sun, 8 Apr 2018 22:52:55 +1000 Subject: [PATCH] Add doctest snippet --- snippets/snippets.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/snippets/snippets.json b/snippets/snippets.json index b36c2a5..fb919ef 100644 --- a/snippets/snippets.json +++ b/snippets/snippets.json @@ -119,6 +119,12 @@ "description": "doc", "scope": "source.elixir" }, + "doctest": { + "prefix": "@doctest", + "body": "@doc \"\"\"\n$0\n\n## Examples\n\n\t\tiex>\n\n\"\"\"", + "description": "doctest", + "scope": "source.elixir" + }, "i": { "prefix": "i", "body": "inspect($0)",