From 3cbb4c13a70adb11e811879ef7798f0a7c458c7e Mon Sep 17 00:00:00 2001 From: tavo-wasd Date: Thu, 23 May 2024 21:35:19 -0600 Subject: [PATCH] fix --- vim/vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 3abf809..57eb3bf 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -67,8 +67,8 @@ noremap n :cn noremap n :cn " c/c++ -autocmd FileType c :compiler gcc | setlocal makeprg=gcc\ -Wall\ -c\ %\ &&\ rm\ -f\ %.gch -autocmd FileType cpp :compiler gcc | setlocal makeprg=g++\ -Wall\ -c\ %\ &&\ rm\ -f\ %.gch +autocmd FileType c :compiler gcc | setlocal makeprg=gcc\ -Wall\ -c\ % +autocmd FileType cpp :compiler gcc | setlocal makeprg=g++\ -Wall\ -c\ % " groff autocmd FileType groff noremap :!zathura --fork %:r.pdf & disown