From 17179db065988423638e3f30b831b7d553380687 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Wed, 18 Dec 2024 13:27:53 +0100 Subject: checkpoint --- after/ftplugin/c.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'after/ftplugin') diff --git a/after/ftplugin/c.lua b/after/ftplugin/c.lua index 70fe8ef..864a22a 100644 --- a/after/ftplugin/c.lua +++ b/after/ftplugin/c.lua @@ -17,6 +17,7 @@ map("n", ",i", function() end, { desc = "Include header for word under cursor" }) map("n", ",f", mapcmd("CF"), { desc = "Toggle formatting" }) map("n", "", mapcmd("make"), { desc = "Make" }) +map("i", "", "#if 1#endifO", { desc = "Insert `#if 1` block" }) vim.opt.commentstring = "// %s" -- disable indent in switch statement -- cgit v1.2.3