From 0471dd67c43b8993aebe33a567fd57409adf9948 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Wed, 23 Jul 2025 12:17:30 +0100 Subject: [PATCH] Add disabled dynamic node for C/C++ once snippet --- snippets/c.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/snippets/c.lua b/snippets/c.lua index 7c75c8a..1e7e907 100644 --- a/snippets/c.lua +++ b/snippets/c.lua @@ -33,6 +33,11 @@ local snippets = { end, key('name')), text({ '', '#define ' }), insert(1, getIncludeGuardName(), { key = 'name' }), + -- FIXME: dynamic(1, function(_, _) + -- return snip({}, { + -- insert(1, getIncludeGuardName()) + -- }) + -- end, { key = "name" }), text({ '', '', '', }), insert(0, ''), text({ '', '', '#endif // ' }),