Rephrase handler description

This commit is contained in:
Marc Hamamji 2023-04-14 15:36:59 +03:00
parent ba6ebadeb7
commit b4191bc63d

View File

@ -85,11 +85,11 @@ A customizable Neovim plugin to run code inside the editor
functions that run code. For example, a handler could run the project, run the tests, functions that run code. For example, a handler could run the project, run the tests,
build the project, or even run custom project scripts. build the project, or even run custom project scripts.
A handler is a function that accepts a buffer number as an argument, and doesn't return A handler is a function that accepts a buffer number as an argument, and doesn't
anything. The buffer number defaults to the buffer where the `run()` function was called, return anything. This buffer number is the buffer where the code to run is located.
or, if specified, the buffer number that was passed to the `run()` function. This buffer It defaults to the buffer where the `run()` function was called, or, if specified,
number where the code to run is located. Runner runs the appropriate handler based on this is the buffer number that was passed to the `run()` function. Runner runs the
buffer's filetype. appropriate handler based on this buffer's filetype.
For using multiple handlers on the same filetype, see the [choice helper](#choice(handlers)). For using multiple handlers on the same filetype, see the [choice helper](#choice(handlers)).