Skip to content

Commit

Permalink
ref: change function names
Browse files Browse the repository at this point in the history
  • Loading branch information
vuki656 committed Aug 8, 2021
1 parent 92f4551 commit fad3c6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/package-info/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ local helpers = require("package-info.utils.helpers")

local M = {}

M.display = function()
M.show = function()
local is_file_package_json = helpers.is_file_package_json()

if is_file_package_json then
Expand All @@ -26,7 +26,7 @@ M.display = function()
end
end

M.clear = function()
M.hide = function()
vim.api.nvim_buf_clear_namespace(0, config.namespace_id, 0, -1)
end

Expand Down

0 comments on commit fad3c6d

Please sign in to comment.