Skip to content

Commit

Permalink
remove todos
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Badragan committed May 8, 2024
1 parent 783c05c commit f8fc657
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lua/grug-far.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ local M = {}

local options = nil
local namespace = nil
-- TODO (sbadragan): do we need some sort of health check?
function M.setup(user_opts)
options = opts.with_defaults(user_opts or {})
namespace = vim.api.nvim_create_namespace('grug-far.nvim')
Expand Down
1 change: 0 additions & 1 deletion lua/grug-far/render/resultsList.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ function M.appendResultsChunk(buf, context, data)
local hl = highlight.hl
local line = data.lines[highlight.start_line + 1]

-- TODO (sbadragan): these could be number comparisons?
if hl == 'GrugFarResultsPath' then
lastLocation = { filename = string.sub(line, highlight.start_col + 1, highlight.end_col + 1) }
table.insert(resultsLocations, lastLocation)
Expand Down

0 comments on commit f8fc657

Please sign in to comment.