diff options
| author | Robert Günzler <r@gnzler.io> | 2026-02-10 12:32:48 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2026-02-10 12:41:25 +0100 |
| commit | 63feeb9f369fc6176e85c1c2d8fcc863caad1946 (patch) | |
| tree | 41cd5d2d1ec36e74e464caab722cc9b460153f04 /.vim/snippets/html.lua | |
| parent | 5bd0a4aca65ecb9818ef1285982d160b6b6ff665 (diff) | |
start new
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '')
| -rw-r--r-- | .vim/snippets/html.lua | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/.vim/snippets/html.lua b/.vim/snippets/html.lua deleted file mode 100644 index af7be73..0000000 --- a/.vim/snippets/html.lua +++ /dev/null @@ -1,49 +0,0 @@ ----@diagnostic disable: undefined-global -return { - s( - 'html:5', - fmt( - [[ -<!DOCTYPE html> -<html lang="en"> - -<head> - <meta charset="utf-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <meta name="color-scheme" content="dark light"> - <title>{title}</title> - <link href="{style}" rel="stylesheet"> - <script src="{script}"></script> -</head> - -<body> - {body} -</body> - -</html> - ]], - { - title = i(1, 'my title'), - style = i(2, 'style.css'), - script = i(3, 'main.js'), - body = i(0), - } - ) - ), - s('anchor', fmt([[<a href="{}">{}</a>]], { i(1), i(2) })), - s( - 'journal', - fmt( - [[ -<article> - <h2>{}</h2> - <p>{}</p> -</article> - ]], - { - i(1, os.date('%Y-%m-%d, %a')), - i(0), - } - ) - ), -} |