diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-10-05 21:11:35 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-10-05 21:11:35 +0900 |
| commit | 64af7879001813ba14937cba80b7cca9cc8dfe49 (patch) | |
| tree | 623fcd327cdf525a4980108ef01d6bcb757930d0 /.config | |
| parent | c010c67bf51d1af96bd3a6a13434fac53a21351f (diff) | |
| download | dotfiles-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.lua | 3 |
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 = { |
