From a606bd10c79ec5989c76c49cc6f736e88b63f0da Mon Sep 17 00:00:00 2001
From: Tsakiris Tryfon
Date: Wed, 28 Dec 2022 15:49:57 +0200
Subject: docs: fix typos/wording (#2283)
---
lua/telescope/make_entry.lua | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
(limited to 'lua/telescope/make_entry.lua')
diff --git a/lua/telescope/make_entry.lua b/lua/telescope/make_entry.lua
index 2532997..6b096da 100644
--- a/lua/telescope/make_entry.lua
+++ b/lua/telescope/make_entry.lua
@@ -4,23 +4,23 @@
---
--- Each picker has a finder made up of two parts, the results which are the
--- data to be displayed, and the entry_maker. These entry_makers are functions
---- returned from make_entry functions. These will be referrd to as
+--- returned from make_entry functions. These will be referred to as
--- entry_makers in the following documentation.
---
---- Every entry maker returns a function which accepts the data to be used for
+--- Every entry maker returns a function that accepts the data to be used for
--- an entry. This function will return an entry table (or nil, meaning skip
---- this entry) which contains of the - following important keys:
+--- this entry) which contains the following important keys:
--- - value any: value key can be anything but still required
--- - valid bool: is an optional key because it defaults to true but if the key
---- is set to false it will not be displayed by the picker. (optional)
+--- is set to false it will not be displayed by the picker (optional)
--- - ordinal string: is the text that is used for filtering (required)
--- - display string|function: is either a string of the text that is being
--- displayed or a function receiving the entry at a later stage, when the entry
---- is actually being displayed. A function can be useful here if complex
---- calculation have to be done. `make_entry` can also return a second value
+--- is actually being displayed. A function can be useful here if a complex
+--- calculation has to be done. `make_entry` can also return a second value
--- a highlight array which will then apply to the line. Highlight entry in
--- this array has the following signature `{ { start_col, end_col }, hl_group }`
---- (required).
+--- (required)
--- - filename string: will be interpreted by the default `` action as
--- open this file (optional)
--- - bufnr number: will be interpreted by the default `` action as open
@@ -30,7 +30,7 @@
--- - col number: col value which will be interpreted by the default ``
--- action as a jump to this column (optional)
---
---- More information on easier displaying, see |telescope.pickers.entry_display|
+--- For more information on easier displaying, see |telescope.pickers.entry_display|
---
--- TODO: Document something we call `entry_index`
---@brief ]]
--
cgit v1.2.3