From a96058043ef541608b9bb8f5b97a1977808eddac Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Thu, 12 Jan 2023 18:14:52 -0500 Subject: [PATCH] nvim: add warnings to gcc bind --- src/.config/nvim/init.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/.config/nvim/init.vim b/src/.config/nvim/init.vim index 3408353..741b092 100755 --- a/src/.config/nvim/init.vim +++ b/src/.config/nvim/init.vim @@ -53,7 +53,7 @@ au BufEnter *.c,*.cpp,*.h,*.hpp packadd termdebug tnoremap nnoremap :execute "Termdebug" $HOME .. "/.cache/termdebug.out" -nnoremap :!g++ -g %:p -o ~/.cache/termdebug.out +nnoremap :!g++ -Wall -Wextra -Wpedantic -g %:p -o ~/.cache/termdebug.out nnoremap :Run nnoremap :Stop nnoremap :Clear