Skip to content

Commit

Permalink
chore: appease lua check CI
Browse files Browse the repository at this point in the history
  • Loading branch information
benlubas authored and vhyrro committed Jun 7, 2024
1 parent 9917f99 commit 708bddf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/neorg/modules/core/completion/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ module.private = {
--- - metadata `title` field
--- - file description
---@return string[]
module.private.foreign_link_names = function(context, _prev, _saved, match)
module.private.foreign_link_names = function(_context, _prev, _saved, match)
local file, target = match[2], match[3]
local path = dirutils.expand_pathlib(file)
local meta = treesitter.get_document_metadata(path)
Expand Down Expand Up @@ -261,7 +261,7 @@ end

--- suggest the link target name
---@return string[]
module.private.local_link_names = function(context, _prev, _saved, match)
module.private.local_link_names = function(_context, _prev, _saved, match)
local target = match[2]
if target then
target = target:gsub("^%s+", "")
Expand Down Expand Up @@ -626,7 +626,7 @@ module.public = {
for _, completion_data in ipairs(completions) do
-- If the completion data has a regex variable
if completion_data.regex then
local regexes = {}
local regexes

if type(completion_data.regex) == "string" then
regexes = { completion_data.regex }
Expand Down

0 comments on commit 708bddf

Please sign in to comment.