~havi/nvim.d

16201864645a39ed2cf6b1345a8edace9790ee41 — havi 4 months ago 75055d0
feat(snippets/json/hcl): `comment` snippet
2 files changed, 24 insertions(+), 0 deletions(-)

A lua/snippets/json/hcl.json
M lua/snippets/json/package.json
A lua/snippets/json/hcl.json => lua/snippets/json/hcl.json +17 -0
@@ 0,0 1,17 @@
{
  "Synopsis": {
    "prefix": "comment",
    "body": [
"# ─── NOTE ───────────────────────────────────────────────────────────────────────",
"# $1",
"# ─── SNIPPETS ───────────────────────────────────────────────────────────────────",
"# $2",
"# ─── REFERENCES ─────────────────────────────────────────────────────────────────",
"# - $3",
"# ────────────────────────────────────────────────────────────────────────────────",
"$0",
        ],
    "description": "Comment for resource"
    }
}


M lua/snippets/json/package.json => lua/snippets/json/package.json +7 -0
@@ 20,6 20,13 @@
      },
      {
        "language": [
          "terraform",
          "hcl"
        ],
        "path": "./hcl.json"
      },
      {
        "language": [
          "typescript",
          "typescriptreact"
        ],