summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vimrc4
1 files changed, 3 insertions, 1 deletions
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 = {