aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/textadept/adeptsense.lua2
-rw-r--r--modules/textadept/menu.lua2
2 files changed, 2 insertions, 2 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
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua
index a914cb83..1196fe90 100644
--- a/modules/textadept/menu.lua
+++ b/modules/textadept/menu.lua
@@ -228,7 +228,7 @@ menubar = {
{ L('_Next Buffer'), { 'goto_buffer', v, 1, false } },
{ L('_Previous Buffer'), { 'goto_buffer', v, -1, false } },
{ L('Switch _Buffer'), { gui.switch_buffer } },
- { SEPARATOR, SEPARATOR },
+ { SEPARATOR },
{ L('Toggle View _EOL'), { toggle_setting, 'view_eol' } },
{ L('Toggle _Wrap Mode'), { toggle_setting, 'wrap_mode' } },
{ L('Toggle Show Indentation _Guides'),