@@ -34,8 +34,8 @@ local config = {
3434--- @class please.Opts
3535--- @field max_history_items integer ? The maximum number of history items to store for each repository.
3636
37- --- Updates the configuration with the provided {opts}. Should only be called if you want to change the defaults which
38- --- are shown below.
37+ --- Update the configuration with the provided {opts}. Should only be called if you want to change the defaults which are
38+ --- shown below.
3939---
4040--- Example:
4141--- ```lua
@@ -197,8 +197,8 @@ local function get_repo_root(path)
197197 return nil , " Couldn't locate the repo root. Are you sure you're inside a plz repo?"
198198end
199199
200- --- If the current file is a `BUILD` file, builds the target which is under the cursor. Otherwise, builds the target
201- --- which takes the current file as an input.
200+ --- If the current file is a `BUILD` file, build the target which is under the cursor. Otherwise, build the target which
201+ --- takes the current file as an input.
202202function M .build ()
203203 logging .log_call (' please.build' )
204204
@@ -441,7 +441,7 @@ function M.history()
441441 end )
442442end
443443
444- --- Clears the command history for the current repository.
444+ --- Clear the command history for the current repository.
445445function M .clear_history ()
446446 logging .log_call (' please.clear_history' )
447447
@@ -459,7 +459,7 @@ function M.clear_history()
459459 end )
460460end
461461
462- --- Sets the profile that will be used by [please.build()], [please.run()], [please.test()], [please.debug()], and
462+ --- Set the profile that will be used by [please.build()], [please.run()], [please.test()], [please.debug()], and
463463--- [please.command()]. Profiles will be searched for in `/etc/please`, `~/.config/please`, and the current repository.
464464function M .set_profile ()
465465 logging .log_call (' please.profile' )
@@ -510,7 +510,7 @@ function M.set_profile()
510510 end )
511511end
512512
513- --- Maximises the popup which was most recently quit or minimised.
513+ --- Maximise the popup which was most recently quit or minimised.
514514function M .maximise_popup ()
515515 logging .log_call (' please.maximise_popup' )
516516 if runner .current then
@@ -520,7 +520,7 @@ function M.maximise_popup()
520520 end
521521end
522522
523- --- Jumps to the location of the target which takes the current file as an input.
523+ --- Jump to the location of the target which takes the current file as an input.
524524---
525525--- The cursor will be moved to where the target is created if it can be found which should be the case for all targets
526526--- except for those with names which are generated when the `BUILD` file is executed.
@@ -540,7 +540,7 @@ function M.jump_to_target()
540540 end )
541541end
542542
543- --- Looks up a target by its build label and jumps to its location. If the cursor is already on a build label, then this
543+ --- Look up a target by its build label and jumps to its location. If the cursor is already on a build label, then this
544544--- will be used. Otherwise, you'll be prompted for one.
545545---
546546--- The cursor will be moved to where the target is created if it can be found which should be the case for all targets
0 commit comments