Skip to content

Commit

Permalink
refactor: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
tris203 committed Jun 1, 2024
1 parent bd13fd9 commit 6e7eb55
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
3 changes: 0 additions & 3 deletions lua/precognition/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -410,9 +410,6 @@ local state = {
build_gutter_hints = function()
return build_gutter_hints
end,
apply_gutter_hints = function()
return apply_gutter_hints
end,
on_cursor_moved = function()
return on_cursor_moved
end,
Expand Down
15 changes: 0 additions & 15 deletions tests/precognition/gutter_hints_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -140,18 +140,3 @@ describe("Gutter hints table", function()
}, hints)
end)
end)

local function dump(o)
if type(o) == "table" then
local s = "{ "
for k, v in pairs(o) do
if type(k) ~= "number" then
k = '"' .. k .. '"'
end
s = s .. "[" .. k .. "] = " .. dump(v) .. ","
end
return s .. "} "
else
return tostring(o)
end
end

0 comments on commit 6e7eb55

Please sign in to comment.