From 846a283c383ee56a261745b942df2164b150cc05 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 20 Nov 2022 10:15:22 +0200 Subject: [vimrc/CodeTerminal] Added codebuildsingle configs for yacc and lex files --- .vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 25e7d69..d616ee8 100644 --- a/.vimrc +++ b/.vimrc @@ -245,7 +245,9 @@ " Building the current file only let g:codebuildsingle = { \ 'scheme': '(enter! "%F")', - \ 'cpp' : "g++ -g -pedantic '%F' && ./a.out" + \ 'cpp' : "g++ -g -pedantic '%F' && ./a.out", + \ 'yacc' : 'bison -t -d %F', + \ 'lex' : 'flex %F' \ } " Building all files in the directory (and subdirectories) of the current file let g:codebuildproject = { -- cgit v1.2.3