mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
update default code runner
This commit is contained in:
parent
a9e51972a9
commit
aa00ff9942
3 changed files with 13 additions and 17 deletions
|
@ -115,14 +115,7 @@ vim.g.pcode_whichkey = {
|
|||
}
|
||||
|
||||
-- https://github.com/CRAG666/code_runner.nvim
|
||||
-- ready default java, python, typescript, javascript, rust, cpp, scss
|
||||
vim.g.pcode_coderunner = {
|
||||
java = "cd $dir && javac $fileName && java $fileNameWithoutExt",
|
||||
python = "python3 -u",
|
||||
typescript = "deno run",
|
||||
rust = "cd $dir && rustc $fileName && $dir/$fileNameWithoutExt",
|
||||
-- cpp="gcc $fileName -lstdc++ -o $fileNameWithoutExt && $fileNameWithoutExt"
|
||||
cpp = "g++ $fileName -o $fileNameWithoutExt && $dir/$fileNameWithoutExt",
|
||||
scss = "sass $dir/$fileName $dir/$fileNameWithoutExt.css",
|
||||
javascript = "node $dir/$fileName",
|
||||
go = "go run $fileName",
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue