diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-11-04 07:35:34 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-11-04 07:35:34 +0100 |
commit | 379cd763460659bfdbd49386108a9a5ab68663c2 (patch) | |
tree | 8778abcf5ee27a6e781e5179fd4d6ef0b6ee9523 /after/ftplugin/c.lua | |
parent | 68b90b79f06a0fa09866f35e84e4c72405ac547d (diff) |
checkpoint
Diffstat (limited to 'after/ftplugin/c.lua')
-rw-r--r-- | after/ftplugin/c.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/after/ftplugin/c.lua b/after/ftplugin/c.lua index b5b06d0..0b5c163 100644 --- a/after/ftplugin/c.lua +++ b/after/ftplugin/c.lua @@ -16,4 +16,7 @@ map("n", ",i", function() vim.cmd("normal ''") end, { desc = "Include header for word under cursor" }) map("n", ",f", mapcmd("CF"), { desc = "Toggle formatting" }) -vim.o.commentstring = "// %s" + +vim.opt.commentstring = "// %s" +-- disable indent in switch statement +vim.opt.cinoptions = "l1" |