feat: debloat
This commit is contained in:
@@ -3,12 +3,10 @@ vim.loader.enable()
|
||||
local utils = require("utils")
|
||||
|
||||
local files = {
|
||||
"env",
|
||||
"globals",
|
||||
"options",
|
||||
"autocommands",
|
||||
"mappings",
|
||||
"user_commands",
|
||||
}
|
||||
|
||||
for _, file in ipairs(files) do
|
||||
@@ -21,58 +19,54 @@ for _, file in ipairs(files) do
|
||||
end
|
||||
end
|
||||
|
||||
if vim.g.vscode then
|
||||
-- VSCode extension
|
||||
else
|
||||
local ok, err = pcall(require, "bootstrap")
|
||||
if not ok then
|
||||
utils.err("Error during bootstrap")
|
||||
utils.err(err:gsub("\t", " "))
|
||||
return
|
||||
end
|
||||
local ok, err = pcall(require, "bootstrap")
|
||||
if not ok then
|
||||
utils.err("Error during bootstrap")
|
||||
utils.err(err:gsub("\t", " "))
|
||||
return
|
||||
end
|
||||
|
||||
---@type LazyPluginSpec[]
|
||||
local plugins = {
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
config = require("lsp").setup,
|
||||
},
|
||||
{ import = "plugins" },
|
||||
}
|
||||
---@type LazyPluginSpec[]
|
||||
local plugins = {
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
config = require("lsp").setup,
|
||||
},
|
||||
{ import = "plugins" },
|
||||
}
|
||||
|
||||
---@type LazyConfig
|
||||
local opts = {
|
||||
install = {
|
||||
colorscheme = { "moonfly" },
|
||||
},
|
||||
ui = {
|
||||
icons = {
|
||||
cmd = "",
|
||||
config = "",
|
||||
event = "",
|
||||
favorite = "",
|
||||
ft = "",
|
||||
init = "",
|
||||
import = "",
|
||||
keys = "",
|
||||
lazy = "",
|
||||
loaded = "",
|
||||
not_loaded = "",
|
||||
plugin = "",
|
||||
runtime = "",
|
||||
require = " ",
|
||||
source = "",
|
||||
start = "",
|
||||
task = "",
|
||||
list = {
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
},
|
||||
---@type LazyConfig
|
||||
local opts = {
|
||||
install = {
|
||||
colorscheme = { "moonfly" },
|
||||
},
|
||||
ui = {
|
||||
icons = {
|
||||
cmd = "",
|
||||
config = "",
|
||||
event = "",
|
||||
favorite = "",
|
||||
ft = "",
|
||||
init = "",
|
||||
import = "",
|
||||
keys = "",
|
||||
lazy = "",
|
||||
loaded = "",
|
||||
not_loaded = "",
|
||||
plugin = "",
|
||||
runtime = "",
|
||||
require = " ",
|
||||
source = "",
|
||||
start = "",
|
||||
task = "",
|
||||
list = {
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
},
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
require("lazy").setup(plugins, opts)
|
||||
end
|
||||
require("lazy").setup(plugins, opts)
|
||||
|
||||
Reference in New Issue
Block a user