fix: Order of loading configs
This fixes the issue where lazy.nvim will load plugins from the current directory instead of the proper folder
This commit is contained in:
parent
2ce8782d14
commit
f8cbef6912
3 changed files with 3 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
-- Load the different config files
|
||||
package.path = package.path .. ';' .. vim.fn.stdpath("config") .. "/config/?.lua"
|
||||
package.path = vim.fn.stdpath("config") .. "/config/?.lua" .. ';' .. package.path
|
||||
|
||||
-- Load global configs
|
||||
require("globals")
|
||||
|
@ -7,4 +7,3 @@ require("globals")
|
|||
require("plugins")
|
||||
-- Load keymaps
|
||||
require("keymaps")
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
-- Load the different config files
|
||||
package.path = package.path .. ';' .. vim.fn.stdpath("config") .. "/config/?.lua"
|
||||
package.path = vim.fn.stdpath("config") .. "/config/?.lua" .. ';' .. package.path
|
||||
|
||||
-- Load global configs
|
||||
require("globals")
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
-- Load the different config files
|
||||
package.path = package.path .. ';' .. vim.fn.stdpath("config") .. "/config/?.lua"
|
||||
package.path = vim.fn.stdpath("config") .. "/config/?.lua" .. ';' .. package.path
|
||||
|
||||
-- Load global configs
|
||||
require("globals")
|
||||
|
|
Loading…
Reference in a new issue