clean stuff
This commit is contained in:
parent
6fd4fbbe98
commit
492fee1979
@ -1,4 +1,4 @@
|
|||||||
local autocmd = vim.api.nvim_create_autocmd
|
-- local autocmd = vim.api.nvim_create_autocmd
|
||||||
|
|
||||||
-- Uncomment this if you want to open nvim with a dir
|
-- Uncomment this if you want to open nvim with a dir
|
||||||
-- autocmd("BufEnter", {
|
-- autocmd("BufEnter", {
|
||||||
|
@ -82,7 +82,6 @@ end
|
|||||||
|
|
||||||
M.plugin_list = function(default_plugins)
|
M.plugin_list = function(default_plugins)
|
||||||
local user_plugins = require("core.utils").load_config().plugins.user
|
local user_plugins = require("core.utils").load_config().plugins.user
|
||||||
local plug_override = require("core.default_config").plugins.override
|
|
||||||
|
|
||||||
-- merge default + user plugin table
|
-- merge default + user plugin table
|
||||||
default_plugins = vim.tbl_deep_extend("force", default_plugins, user_plugins)
|
default_plugins = vim.tbl_deep_extend("force", default_plugins, user_plugins)
|
||||||
@ -93,7 +92,6 @@ M.plugin_list = function(default_plugins)
|
|||||||
default_plugins[key][1] = key
|
default_plugins[key][1] = key
|
||||||
|
|
||||||
final_table[#final_table + 1] = default_plugins[key]
|
final_table[#final_table + 1] = default_plugins[key]
|
||||||
plug_override[#plug_override + 1] = default_plugins[key]
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return final_table
|
return final_table
|
||||||
|
Loading…
Reference in New Issue
Block a user