summaryrefslogtreecommitdiff
path: root/snippets/eelixir.snippets
diff options
context:
space:
mode:
authorVito G. Graffagnino <vito@graffagnino.xyz>2022-08-30 16:06:22 +0100
committerVito G. Graffagnino <vito@graffagnino.xyz>2022-08-30 16:06:22 +0100
commitf1eabbaa1b4ff1836d0ee8335b31d009203f3775 (patch)
treebbe77eacaef8ab8a5999e517c3006973c9e3e44c /snippets/eelixir.snippets
parent823302458ec6c53455a3f34674415c43ce6a3187 (diff)
fixed zathura integration with texlab using nvim-texlabconfig
Diffstat (limited to 'snippets/eelixir.snippets')
-rw-r--r--snippets/eelixir.snippets71
1 files changed, 0 insertions, 71 deletions
diff --git a/snippets/eelixir.snippets b/snippets/eelixir.snippets
deleted file mode 100644
index c15d86e..0000000
--- a/snippets/eelixir.snippets
+++ /dev/null
@@ -1,71 +0,0 @@
-extends html
-
-snippet % <% %>
- <% ${0} %>
-snippet = <%= %>
- <%= ${0} %>
-snippet # <%# %>
- <%# ${0} %>
-snippet end
- <% end %>
-snippet for
- <%= for ${1:item} <- ${2:items} ${3:@conn} do %>
- ${0}
- <% end %>
-snippet if
- <%= if ${1} do %>
- ${0:${VISUAL}}
- <% end %>
-snippet ife
- <%= if ${1} do %>
- ${2:${VISUAL}}
- <% else %>
- ${0}
- <% end %>
-snippet cond
- <%= cond do %>
- <% ${1} -> %>
- ${2:${VISUAL}}
-
- <% true -> %>
- ${0}
- <% end %>
-snippet unless
- <%= unless ${1} do %>
- ${0:${VISUAL}}
- <% end %>
-snippet ft form_tag
- <%= form_tag(${1:"/users"}, method: ${2::post}) %>
- ${0}
- </form>
-
-snippet sl select
- <%= select ${1:f}, :${2:field}, ${3:[{"key", "value"}]}, prompt: ${4:"Prompt"} %>
-
-snippet sb submit
- <%= submit ${1:"Submit"} %>
-
-snippet rb radio_button
- <%= radio_button ${1:f}, :${2:field}, ${3:"value"} %>
-
-
-snippet et error_tag
- <%= error_tag ${1:f}, :${2:field} %>
-snippet ti text_input
- <%= text_input ${1:f}, :${2:field} %>
-snippet la label
- <%= label ${1:f}, :${2:field}, "${3:Label}" %>
-snippet pi password_input
- <%= password_input ${1:f}, :${2:password} %>
-snippet render
- <%= render "${1:index}.html", ${2:var: @var} %>
-snippet lin link
- <%= link "${1:Submit}", to: ${2:"/users"}, method: ${3::delete} %>
-snippet ff form_for
- <%= form_for @changeset, ${1:"/users"}, fn f -> %>
- ${0}
-
- <%= submit "Submit" %>
- <% end %>
-snippet pry
- <% require IEx; IEx.pry %>