Quickly wrap a line or range in `#if 0`/`#endif` to quickly disable compilation of sections of code.
4 lines
167 B
Lua
4 lines
167 B
Lua
local opts = { buffer = true, remap = false, silent = true }
|
|
vim.keymap.set('n', '0', ':PreProcIfWrap<CR>', opts)
|
|
vim.keymap.set('v', '0', ':PreProcIfWrap<CR>', opts)
|