aboutsummaryrefslogtreecommitdiffhomepage
path: root/.config
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-10-05 21:11:35 +0900
committernsfisis <nsfisis@gmail.com>2025-10-05 21:11:35 +0900
commit64af7879001813ba14937cba80b7cca9cc8dfe49 (patch)
tree623fcd327cdf525a4980108ef01d6bcb757930d0 /.config
parentc010c67bf51d1af96bd3a6a13434fac53a21351f (diff)
downloaddotfiles-64af7879001813ba14937cba80b7cca9cc8dfe49.tar.gz
dotfiles-64af7879001813ba14937cba80b7cca9cc8dfe49.tar.zst
dotfiles-64af7879001813ba14937cba80b7cca9cc8dfe49.zip
nvim/lazy: directly modify lazy-lock.json file under dotfiles repository
Because Home Manager makes it read-only.
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/lua/init/06-plugins.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/nvim/lua/init/06-plugins.lua b/.config/nvim/lua/init/06-plugins.lua
index 87fc63e..20f472a 100644
--- a/.config/nvim/lua/init/06-plugins.lua
+++ b/.config/nvim/lua/init/06-plugins.lua
@@ -14,6 +14,9 @@ local lazy_path = require('vimrc.my_env').data_dir .. '/lazy/lazy.nvim'
if vim.loop.fs_stat(lazy_path) then
vim.opt.rtp:prepend(lazy_path)
require('lazy').setup('vimrc.plugins', {
+ -- This file is copied to under home directory by Home Manager.
+ -- Because Home Manager will make it read-only, I directly modify a file under the "dotfiles" repository.
+ lockfile = require('vimrc.my_env').home .. "/dotfiles/.config/nvim/lazy-lock.json",
-- Overrides ui.icons to avoid using Nerd Font.
ui = {
icons = {