From d85d183b35f69c74e1bc5f23fe43c787497f398c Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Thu, 8 Oct 2026 10:02:43 +0200 Subject: fix: migrate treesitter to main branch and tidy config 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. --- init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'init.lua') 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 -- cgit v1.3.1