From bc75dc19ddee9c71ef8e6cff7c0bc5ebd7340bd4 Mon Sep 17 00:00:00 2001 From: DrNuget Date: Mon, 20 Jan 2025 13:58:43 +0200 Subject: vimrc change int main() macro to k&r indent style --- .config/nvim/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/nvim') diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 26480b3..1798928 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -30,7 +30,7 @@ vim.cmd([[ nnoremap /<++>vf>da " Some C Macros - autocmd Filetype c inoremap im intmain(){return0;} + autocmd Filetype c inoremap im intmain(){return0;} autocmd Filetype c inoremap I #include<> autocmd Filetype c inoremap w while(){}e2li autocmd Filetype c inoremap f for(;;){}e2li -- cgit v1.2.3