2021-07-03 20:19:46 -04:00
|
|
|
local disable_distribution_plugins = function()
|
|
|
|
vim.g.loaded_gzip = 1
|
|
|
|
vim.g.loaded_tar = 1
|
|
|
|
vim.g.loaded_tarPlugin = 1
|
|
|
|
vim.g.loaded_zip = 1
|
|
|
|
vim.g.loaded_zipPlugin = 1
|
|
|
|
vim.g.loaded_getscript = 1
|
|
|
|
vim.g.loaded_getscriptPlugin = 1
|
|
|
|
vim.g.loaded_vimball = 1
|
|
|
|
vim.g.loaded_vimballPlugin = 1
|
|
|
|
vim.g.loaded_matchit = 1
|
2021-07-07 04:08:00 -04:00
|
|
|
-- vim.g.loaded_matchparen = 1
|
2021-07-03 20:19:46 -04:00
|
|
|
vim.g.loaded_2html_plugin = 1
|
|
|
|
vim.g.loaded_logiPat = 1
|
|
|
|
vim.g.loaded_rrhelper = 1
|
|
|
|
vim.g.loaded_netrw = 1
|
|
|
|
vim.g.loaded_netrwPlugin = 1
|
|
|
|
vim.g.loaded_netrwSettings = 1
|
|
|
|
vim.g.loaded_netrwFileHandlers = 1
|
|
|
|
end
|
|
|
|
|
|
|
|
local load_core = function()
|
2021-07-04 15:03:20 -04:00
|
|
|
-- Global theme
|
|
|
|
vim.g.global_theme = 'nord'
|
|
|
|
|
|
|
|
-- Config
|
2021-07-03 20:19:46 -04:00
|
|
|
require('options')
|
2021-07-07 04:08:00 -04:00
|
|
|
require('colors.' .. vim.g.global_theme).highlight()
|
2021-07-03 20:19:46 -04:00
|
|
|
disable_distribution_plugins()
|
2021-07-10 12:40:43 -04:00
|
|
|
vim.g.mapleader = ' '
|
2021-07-03 20:19:46 -04:00
|
|
|
require('plugins')
|
2021-07-07 04:08:00 -04:00
|
|
|
require('mappings')
|
2021-07-07 15:33:29 -04:00
|
|
|
require('events').load_autocmds()
|
2021-07-03 20:19:46 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
load_core()
|