aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/adeptsense.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/adeptsense.lua')
-rw-r--r--modules/textadept/adeptsense.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/adeptsense.lua b/modules/textadept/adeptsense.lua
index e12b9d55..3c360167 100644
--- a/modules/textadept/adeptsense.lua
+++ b/modules/textadept/adeptsense.lua
@@ -170,7 +170,7 @@ function get_apidoc(sense, symbol)
-- Try to display the type-correct apidoc by getting the entity the function
-- is being called on and attempting to determine its type. Otherwise, fall
-- back to the entity itself. In order for this to work, the first line in the
- -- apidoc must start with the entiry (e.g. Class.function).
+ -- apidoc must start with the entity (e.g. Class.function).
local class = sense.completions[entity] or sense:get_class(entity)
if type(class) ~= 'string' then class = entity end -- fall back to entity
for i, apidoc in ipairs(apidocs) do