aboutsummaryrefslogtreecommitdiffstats
path: root/init.lua
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2026-10-08 10:02:43 +0200
committerSimen A. W. Olsen <hello@simenandre.no>2026-10-08 10:02:43 +0200
commitd85d183b35f69c74e1bc5f23fe43c787497f398c (patch)
tree90eea60c7c54dd407b2fba35c1199f066545bf44 /init.lua
parentb6dda087fc86e78e589785a65c61fca23dc383f0 (diff)
downloadconfig.nvim-main.tar.gz
config.nvim-main.zip
fix: migrate treesitter to main branch and tidy configHEADmain
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.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 1b69e28..5d704ff 100644
--- a/init.lua
+++ b/init.lua
@@ -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