motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit fcafb4b64ffe6d308f5e312ddd1672e69e09fb1c (tree)
parent aa8a926d1c513019965360ea5318d9441db66c01
Author: rgreenblatt <greenblattryan@gmail.com>
Date:   Sun, 21 Feb 2021 23:09:52 -0500

Add some documentation about compilers to the readme

Diffstat:
MREADME.md | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -36,3 +36,10 @@ This plugin enables automatic code formatting on save by default using ``` let g:zig_fmt_autosave = 0 ``` + +The default compiler which gets used by `:make` (`:help :compiler` for details) +is `zig_build` and it runs `zig build`. The other options are: + * `:compiler zig_test` which runs `zig test` on the current file. + * `:compiler zig_build_exe` which runs `zig build-exe` on the current file. + * `:compiler zig` which requires that a subcommand is passed as an argument + and it runs on the current file.