feat: remove ow directory, keep ow in type annotations only

This commit is contained in:
2025-10-05 00:30:22 +02:00
parent a1ff822efb
commit 8b17ef2b6b
39 changed files with 103 additions and 112 deletions
+4 -4
View File
@@ -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)