From aa3a69e0d72cdb1d239058792461d9343ea72800 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 29 Feb 2024 17:22:26 +0100 Subject: [vis] replace vis-build with a submodule --- config/vis/plugins/vis-build | 1 + config/vis/plugins/vis-build/README.md | 24 ------------------------ 2 files changed, 1 insertion(+), 24 deletions(-) create mode 160000 config/vis/plugins/vis-build delete mode 100644 config/vis/plugins/vis-build/README.md (limited to 'config/vis/plugins/vis-build/README.md') diff --git a/config/vis/plugins/vis-build b/config/vis/plugins/vis-build new file mode 160000 index 0000000..7eea122 --- /dev/null +++ b/config/vis/plugins/vis-build @@ -0,0 +1 @@ +Subproject commit 7eea122ccf24efc9de55e2d9bf0dd69f0e18e50e diff --git a/config/vis/plugins/vis-build/README.md b/config/vis/plugins/vis-build/README.md deleted file mode 100644 index 23c4de0..0000000 --- a/config/vis/plugins/vis-build/README.md +++ /dev/null @@ -1,24 +0,0 @@ -# vis-build - asynchronously run (build) commands - -This is a simple `vis` plugin to asynchronously run any shell command using -the `vis:communicate` API. - -I use the plugin to run build commands while keeping my editor usable. - -## Configuration - -By default, the `build` will execute `make(1)` in the current directory. -The used build command can either be passed as first argument to `build` or -is retrieved by calling the function `build.get_default_build_cmd`. - -So in order to change the default build command to ninja add this snippet to -you `visrc.lua`: - -```lua -local build = require('plugins/vis-build') -build.get_default_build_cmd = function() return 'ninja' end -``` - -## Bindings - -`` is bound to the `build` command. -- cgit v1.2.3