Created
September 14, 2020 16:03
-
-
Save tamago324/d293a69f8a36fa3df25c6c14ceab56d4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim: set fenc=utf-8 ft=dosini: | |
# define a new task named "file-build" | |
[file-build] | |
# shell command, use quotation for filenames containing spaces | |
# check ":AsyncTaskMacro" to see available macros | |
command=gcc -g "$(VIM_FILEPATH)" -o "$(VIM_FILEDIR)/$(VIM_FILENOEXT).exe" | |
# working directory, can change to $(VIM_ROOT) for project root | |
cwd=$(VIM_FILEDIR) | |
# output mode, can be one of quickfix and terminal | |
# - quickfix: output to quickfix window | |
# - terminal: run the command in the internal terminal | |
output=quickfix | |
# this is for output=quickfix only | |
# if it is omitted, vim's current errorformat will be used. | |
errorformat=%f:%l:%m | |
# save file before execute | |
save=1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment