From fa46c513e8c6fa0a735ccab894f293757f86f38d Mon Sep 17 00:00:00 2001 From: Sathvik Birudavolu <8377116+BSathvik@users.noreply.github.com> Date: Sun, 16 Oct 2022 00:28:16 -0400 Subject: [PATCH] improve startup time --- plugin/openingh.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/openingh.lua b/plugin/openingh.lua index 416c1a5..71ae98a 100644 --- a/plugin/openingh.lua +++ b/plugin/openingh.lua @@ -3,12 +3,12 @@ if vim.g.openingh then end vim.g.openingh = true -require("openingh").setup() +local openingh = require("openingh") vim.api.nvim_create_user_command("OpenInGHFile", function() - require("openingh"):openFile() + openingh:openFile() end, {}) vim.api.nvim_create_user_command("OpenInGHRepo", function() - require("openingh"):openRepo() + openingh:openRepo() end, {})