-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinit.lua
More file actions
47 lines (43 loc) · 1.06 KB
/
init.lua
File metadata and controls
47 lines (43 loc) · 1.06 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
-- Bootstrap globals: must execute before any plugin manager or plugin code
vim.g.mapleader = " "
-- Set before lazy so live-server.nvim sees it (avoids require().setup() deprecation)
vim.g.live_server = { args = {} }
-- Disable builtin plugins before lazy so the runtime never sources them
-- NOTE: do not disable `ftplugin` here. This config relies on filetype plugins
-- such as `ftplugin/java.lua`, and keeping the runtime ftplugin dispatcher
-- enabled is the safest conservative choice.
local disabled_built_ins = {
"2html_plugin",
"getscript",
"getscriptPlugin",
"gzip",
"logipat",
"netrw",
"netrwPlugin",
"netrwSettings",
"netrwFileHandlers",
"matchit",
"tar",
"tarPlugin",
"rrhelper",
"spellfile_plugin",
"vimball",
"vimballPlugin",
"zip",
"zipPlugin",
"tutor",
"rplugin",
"synmenu",
"optwin",
"compiler",
"bugreport",
}
for _, plugin in pairs(disabled_built_ins) do
vim.g["loaded_" .. plugin] = 1
end
require("core/bigfile")
require("core/lazy")
require("core/autocmds")
require("core/keymaps")
require("core/options")
require("core/colors")