aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKerem Bozdas <krmbzds.github@gmail.com>2022-11-26 22:36:11 +0300
committerHennadii Chernyshchyk <genaloner@gmail.com>2022-11-26 22:44:28 +0200
commit75a548c7a16d84548ad71ec2d25ddffe973f5a1e (patch)
tree8b614dd06ccfb9fe46ca7f5033902253af6c956a
parent87c9b7c3f82b7d950064802976ab36bdf30cdc2c (diff)
downloadneovim-tasks-75a548c7a16d84548ad71ec2d25ddffe973f5a1e.tar.gz
neovim-tasks-75a548c7a16d84548ad71ec2d25ddffe973f5a1e.zip
Fix typos in readme
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index baf5881..431c8fb 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
1# Neovim Tasks 1# Neovim Tasks
2 2
3A Neovim 0.7+ plugin that provides a statefull task system focused on integration with build systems. 3A Neovim 0.7+ plugin that provides a stateful task system focused on integration with build systems.
4 4
5Tasks in this plugin are provided by modules that implement functionality for a specific build system. Modules can have custom parameters which user can set via `:Task set_module_param` (like current target or build type). Tasks consists of one or more commands and have `args` and `env` parameters to set arguments and environment variable respectively. All this settings are serializable and will be stored in configuration file in your project directory. 5Tasks in this plugin are provided by modules that implement functionality for a specific build system. Modules can have custom parameters which user can set via `:Task set_module_param` (like current target or build type). Tasks consists of one or more commands and have `args` and `env` parameters to set arguments and environment variable respectively. All this settings are serializable and will be stored in configuration file in your project directory.
6 6
@@ -99,7 +99,7 @@ To create a module just put a lua file under `lua/tasks/modules` in your configu
99 params = { 99 params = {
100 -- A table of parameter names. Possible values: 100 -- A table of parameter names. Possible values:
101 'parameter_name1', -- A string parameter, on setting user will be prompted with vim.ui.input. 101 'parameter_name1', -- A string parameter, on setting user will be prompted with vim.ui.input.
102 parameter_name2 = { 'one', 'two' }, -- A table with possible balues, on setting user will be promted with vim.ui.select to pick one of these values. 102 parameter_name2 = { 'one', 'two' }, -- A table with possible values, on setting user will be prompted with vim.ui.select to pick one of these values.
103 parameter_name3 = func, -- A function that generates a string or a table. 103 parameter_name3 = func, -- A function that generates a string or a table.
104 } 104 }
105 condition = function() return Path:new('file'):exists() end -- A function that returns `true` if this module could be applied to this directory. Used when `auto` is used as module name. 105 condition = function() return Path:new('file'):exists() end -- A function that returns `true` if this module could be applied to this directory. Used when `auto` is used as module name.