diff options
| author | Nanderty <psopka@sopka.ch> | 2025-08-25 20:16:25 +0200 |
|---|---|---|
| committer | Nanderty <psopka@sopka.ch> | 2025-08-25 20:16:25 +0200 |
| commit | 0efd381ea3ad13e075a1623acf4bbecbf952fff7 (patch) | |
| tree | b73eef4ba6d447cd7934615a6df77e9de73b3995 /lua/Snippets/html/elements.lua | |
| parent | 4614b58ff7f2e4fb8baab5288ae6f5a799dd83af (diff) | |
| download | neovim-config-0efd381ea3ad13e075a1623acf4bbecbf952fff7.tar.gz neovim-config-0efd381ea3ad13e075a1623acf4bbecbf952fff7.tar.bz2 neovim-config-0efd381ea3ad13e075a1623acf4bbecbf952fff7.zip | |
html snippets
Diffstat (limited to 'lua/Snippets/html/elements.lua')
| -rw-r--r-- | lua/Snippets/html/elements.lua | 17 |
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 />'), + } + ), +} |
