From 8ed20780fba2b833c3db8cb3295e578d2e597211 Mon Sep 17 00:00:00 2001 From: srdusr Date: Sun, 12 Feb 2023 17:14:00 +0200 Subject: Changed 'utils.lua' and 'local utils' to 'mods.lua' and 'local mods' respectively --- init.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index 622e5e9..108890a 100644 --- a/init.lua +++ b/init.lua @@ -52,8 +52,7 @@ local modules = { "user.pack", -- Packer plugin manager "user.opts", -- Options "user.keys", -- Keymaps - "user.utils", -- Utilities - --"user.mods", -- Modules/functions + "user.mods", -- Modules/functions --"user.deps", -- Plugins --"user.scripts", "plugins.treesitter", @@ -89,9 +88,9 @@ end -- Check if we have the latest stable version of nvim -local utils = require("user.utils") +local mods = require("user.mods") local expected_ver = "0.9.0" -local nvim_ver = utils.get_nvim_version() +local nvim_ver = mods.get_nvim_version() if nvim_ver ~= expected_ver then local msg = string.format("Unsupported nvim version: expect %s, but got %s instead!", expected_ver, nvim_ver) -- cgit v1.2.3