Skip to content

Commit

Permalink
fix: ensure term is used in search options to resolve unused variable…
Browse files Browse the repository at this point in the history
… warning (W311)
  • Loading branch information
sirjager committed Jan 3, 2025
1 parent 2044864 commit f734660
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/obsidian/search.lua
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ M.build_find_cmd = function(path, term, opts)
if term ~= nil then
term = "*" .. term .. "*"
additional_opts[#additional_opts + 1] = "-g"
additional_opts[#additional_opts + 1] = term
additional_opts[#additional_opts + 1] = pattern
end

Expand Down

0 comments on commit f734660

Please sign in to comment.