mirror of https://github.com/zpl-zak/nvimrc
15 lines
372 B
Lua
15 lines
372 B
Lua
-- load lazy package manager
|
|
require('zak.configs.lazy')
|
|
|
|
-- load configs
|
|
local config_path = vim.fn.stdpath("config") .. "/lua/zak/configs"
|
|
for _, file in ipairs(vim.fn.readdir(config_path, [[v:val =~ '\.lua$']])) do
|
|
if file ~= "lazy.lua" then
|
|
require("zak.configs."..file:gsub("%.lua$", ""))
|
|
end
|
|
end
|
|
|
|
-- load options
|
|
require('zak.options')
|
|
require('zak.keymap')
|