diff options
| author | Simen A. W. Olsen <hello@simenandre.no> | 2026-10-08 10:02:43 +0200 |
|---|---|---|
| committer | Simen A. W. Olsen <hello@simenandre.no> | 2026-10-08 10:02:43 +0200 |
| commit | d85d183b35f69c74e1bc5f23fe43c787497f398c (patch) | |
| tree | 90eea60c7c54dd407b2fba35c1199f066545bf44 /init.lua | |
| parent | b6dda087fc86e78e589785a65c61fca23dc383f0 (diff) | |
| download | config.nvim-main.tar.gz config.nvim-main.zip | |
nvim-treesitter master is archived and its queries crash on Neovim 0.12.
Move lazy-lock.json to stdpath(state) since the config dir is read-only.
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -8,8 +8,11 @@ end ---@diagnostic disable-next-line: undefined-field vim.opt.rtp:prepend(lazypath) require("lazy").setup({ - { import = "simenandre.plugins", rocks = { enabled = false } }, + { import = "simenandre.plugins" }, }, { + -- ~/.config/nvim is a read-only nix store path + lockfile = vim.fn.stdpath("state") .. "/lazy-lock.json", + rocks = { enabled = false }, ui = { -- If you are using a Nerd Font: set icons to an empty table which will use the -- default lazy.nvim defined Nerd Font icons, otherwise define a unicode icons table |
