-
Notifications
You must be signed in to change notification settings - Fork 0
/
tasks.ini
36 lines (32 loc) · 1.11 KB
/
tasks.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
定义一个新任务
[build]
command:c,cpp=g++ -O2 -g "$(VIM_FILEPATH)" -std=c++20 -o "./bin/$(VIM_FILENOEXT)"
command:rust=cargo build
cwd=$(VIM_FILEDIR)
output=quickfix
save=2
[run]
command:c=gcc -O2 -g "$(VIM_FILEPATH)" -std=c17 -o "./bin/$(VIM_FILENOEXT)" && time ./bin/$(VIM_FILENOEXT)
command:cpp=g++ -O2 -g "$(VIM_FILEPATH)" -std=c++20 -o "./bin/$(VIM_FILENOEXT)" && time ./bin/$(VIM_FILENOEXT)
command:rust=cargo run
command:python=python "$(VIM_FILENAME)"
command:sh=sh "$(VIM_FILENAME)"
command:lua=lua "$(VIM_FILENAME)"
command:haskell=ghc -dynamic -outputdir "./bin/" -o "./bin/$(VIM_FILENOEXT)" "$(VIM_FILEPATH)" && ./bin/$(VIM_FILENOEXT)
command:markdown=:MarkdownPreview
command:typst=:TypstPreview
command:javascript=node "$(VIM_FILENAME)"
command:html=npx live-server
output=terminal
cwd=$(VIM_FILEDIR)
save=2
[acm]
command:c,cpp=g++ -O2 -g "$(VIM_FILEPATH)" -std=c++20 -o "./bin/$(VIM_FILENOEXT)" && ./bin/$(VIM_FILENOEXT)
command:rust=cargo run
command:python=python "$(VIM_FILENAME)"
command:sh=sh "$(VIM_FILENAME)"
command:lua=lua "$(VIM_FILENAME)"
output=terminal
pos=coderunner
cwd=$(VIM_FILEDIR)
save=2