diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-02-12 17:14:00 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-02-12 17:14:00 +0200 |
| commit | 8ed20780fba2b833c3db8cb3295e578d2e597211 (patch) | |
| tree | 7303d488002c60395487c7a926c93ff95f2994f3 /init.lua | |
| parent | 71cee7e21c8ee739380c07d28bbe5c3143bba456 (diff) | |
| download | dotfiles-8ed20780fba2b833c3db8cb3295e578d2e597211.tar.gz dotfiles-8ed20780fba2b833c3db8cb3295e578d2e597211.zip | |
Changed 'utils.lua' and 'local utils' to 'mods.lua' and 'local mods' respectively
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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) |
