Skip to content

Commit

Permalink
chore(lazy-patcher.nvim): update config
Browse files Browse the repository at this point in the history
  • Loading branch information
mimikun committed Mar 2, 2025
1 parent 1bc36e4 commit f7d776f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 25 deletions.
25 changes: 0 additions & 25 deletions dot_config/nvim/lua/plugins/lazy-patcher-nvim.lua

This file was deleted.

11 changes: 11 additions & 0 deletions dot_config/nvim/lua/plugins/lazy-patcher-nvim/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---@type LazySpec
local spec = {
"one-d-wide/lazy-patcher.nvim",
--lazy = false,
ft = "lazy",
opts = require("plugins.lazy-patcher-nvim.opts"),
cond = false,
enabled = false,
}

return spec
16 changes: 16 additions & 0 deletions dot_config/nvim/lua/plugins/lazy-patcher-nvim/opts.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
local global = require("config.global")

---@type string
local path_sep = global.path_sep

---@type table
local opts = {
lazy_path = table.concat({ global.data_dir, "lazy" }, path_sep),
patches_path = table.concat({ global.vim_path, "patches" }, path_sep),
update_patches = true,
apply_patches = true,
confirm_mass_changes = true,
print_logs = true,
}

return opts

0 comments on commit f7d776f

Please sign in to comment.