@ -1,14 +1,16 @@
-- Initialization
require('/conf/plugins')
require('/conf/keybinds')
require('/conf/config')
require('/conf/ui')
require('/conf/search')
require('/conf/git')
local config_path = vim.fn.stdpath('config') .. '/'
require('conf.plugins')
require('conf.keybinds')
require('conf.config')
require('conf.ui')
require('conf.search')
require('conf.git')
require('ui')
local paths = vim.fn.glob(vim.fn.stdpath 'config' .. 'config/langs/*.lua', true, true, true)
local paths = vim.fn.glob('lua/conf/langs/*.lua', true, true, true)
for _, file in ipairs(paths) do
require(file)
@ -2,6 +2,7 @@
local vim = vim
local Plug = vim.fn['plug#']
-- I have no idea how to auto-install vim-plug on Windows
-- so you will have to install it manually.
@ -15,7 +16,7 @@ vim.cmd [[
endif
]]
vim.call('plug#begin', '~/.config/nvim/plugged')
vim.call('plug#begin', config_path .. 'plugged')
-- UI
Plug 'arcticicestudio/nord-vim'