From f8fc65712a0dca08e8c32537358f78a34ec0e745 Mon Sep 17 00:00:00 2001 From: Stephan Badragan Date: Wed, 8 May 2024 01:12:51 -0700 Subject: [PATCH] remove todos --- lua/grug-far.lua | 1 - lua/grug-far/render/resultsList.lua | 1 - 2 files changed, 2 deletions(-) diff --git a/lua/grug-far.lua b/lua/grug-far.lua index 86c66163..4ed976cc 100644 --- a/lua/grug-far.lua +++ b/lua/grug-far.lua @@ -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') diff --git a/lua/grug-far/render/resultsList.lua b/lua/grug-far/render/resultsList.lua index 65bf45cd..dd539f15 100644 --- a/lua/grug-far/render/resultsList.lua +++ b/lua/grug-far/render/resultsList.lua @@ -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)