summaryrefslogtreecommitdiffstats
path: root/lua/Snippets/html/elements.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/Snippets/html/elements.lua')
-rw-r--r--lua/Snippets/html/elements.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/lua/Snippets/html/elements.lua b/lua/Snippets/html/elements.lua
new file mode 100644
index 0000000..36c4c17
--- /dev/null
+++ b/lua/Snippets/html/elements.lua
@@ -0,0 +1,17 @@
+local helper = require('Snippets.luasniphelpers')
+
+return {
+
+ s({ trig = 'hr', snippetType = 'autosnippet' },
+ {
+ t('<hr>'),
+ },
+ { condition = helper.line_begin }
+ ),
+
+ s({ trig = 'brk', snippetType = 'autosnippet' },
+ {
+ t('<br />'),
+ }
+ ),
+}