-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
26 lines (19 loc) · 899 Bytes
/
init.lua
File metadata and controls
26 lines (19 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
local is_windows = vim.uv.os_uname().sysname == 'Windows'
local config_path = vim.fn.stdpath'config'
-- Global variables
vim.env.MYVIMRC = config_path .. '/init.lua'
vim.env.INIT = config_path .. '/init.lua'
vim.env.COLORS = config_path .. '/lua/colors.lua'
vim.env.MAPPINGS = config_path .. '/lua/mappings.lua'
vim.env.PREFERENCES = config_path .. '/lua/preferences.lua'
vim.env.LUACONF = config_path .. '/lua/config.lua'
vim.env.ENV = config_path .. '/lua/env.lua'
vim.env.PLUGINS = config_path .. '/lua/plugins.lua'
vim.env.STARTUPTHEME = config_path .. '/lua/startup/themes/my_theme.lua'
vim.env.VIMWIKICONFIG = config_path .. '/ftplugin/vimwiki.vim'
vim.env.QUOTES = config_path .. '/lua/startup/themes/quotes.md'
require'preferences'
require'mappings'
require'plugins'
require'config'
require'colors'