neovim: fix a bunch of small issues

- snack explorer now opens on the neovim is open at instead of the go
module
- remove obsolete linting stuff
This commit is contained in:
natercio committed 2026-10-27 10:01:02 +00:00
1 parent 58bec27062
commit 881a5dadff
3 files changed
+14 -3

No files matched your search

@@ -15,8 +15,9 @@ local function toggle_or_focus_explorer()
return
end
-- No explorer open; open one at the project root
Snacks.explorer({ cwd = LazyVim.root() })
-- No explorer open; open one at the actual working directory.
-- (inside the explorer, <c-r> toggles between project cwd and module root)
Snacks.explorer()
end
vim.keymap.set("n", "<leader>e", toggle_or_focus_explorer, { desc = "Explorer (toggle/focus)" })