feat: remove ow directory, keep ow in type annotations only
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
vim.loader.enable()
|
||||
|
||||
local log = require("ow.log")
|
||||
local log = require("log")
|
||||
|
||||
local files = {
|
||||
"globals",
|
||||
@@ -10,7 +10,7 @@ local files = {
|
||||
}
|
||||
|
||||
for _, file in ipairs(files) do
|
||||
local pkg = "ow.core." .. file
|
||||
local pkg = "core." .. file
|
||||
local ok, err = pcall(require, pkg)
|
||||
if not ok then
|
||||
log.error("Error while loading package " .. pkg)
|
||||
@@ -19,7 +19,7 @@ for _, file in ipairs(files) do
|
||||
end
|
||||
end
|
||||
|
||||
local ok, err = pcall(require, "ow.bootstrap")
|
||||
local ok, err = pcall(require, "bootstrap")
|
||||
if not ok then
|
||||
log.error("Error during bootstrap")
|
||||
log.error(err:gsub("\t", " "))
|
||||
@@ -60,4 +60,4 @@ local opts = {
|
||||
},
|
||||
}
|
||||
|
||||
require("lazy").setup("ow.plugins", opts)
|
||||
require("lazy").setup("plugins", opts)
|
||||
|
||||
Reference in New Issue
Block a user