diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-10-16 02:19:39 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-10-16 02:19:42 +0200 |
commit | d4bbff517b54383876e84204707fcb21cf69d48d (patch) | |
tree | e9a70dd2037cc200b2252014c4325becc422ec3b /after/ftplugin/c.lua | |
parent | 36459bee543d1ea809bf66178b8ed933a44f77b5 (diff) |
checkpoint
Diffstat (limited to 'after/ftplugin/c.lua')
-rw-r--r-- | after/ftplugin/c.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/after/ftplugin/c.lua b/after/ftplugin/c.lua index f3fcd6f..58f46a6 100644 --- a/after/ftplugin/c.lua +++ b/after/ftplugin/c.lua @@ -1,2 +1,3 @@ local map = vim.keymap.set map("n", ",p", [[<cmd>s/\(\s*\)\(.\+\)/\1printf("\2: %d\\n", \2);<cr>]], { desc = "Surround var with printf" }) +vim.o.commentstring = "// %s" |