Compare commits

...
2 Commits
Author SHA1 Message Date
natercio 4f056a099f neovim: update mason name to mason-org/mason.nvim 2026-10-27 10:06:26 +00:00
natercio 881a5dadff 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
2026-10-27 10:01:02 +00:00
4 changed files with 15 additions and 4 deletions

No files matched your search

@@ -15,8 +15,9 @@ local function toggle_or_focus_explorer()
return return
end end
-- No explorer open; open one at the project root -- No explorer open; open one at the actual working directory.
Snacks.explorer({ cwd = LazyVim.root() }) -- (inside the explorer, <c-r> toggles between project cwd and module root)
Snacks.explorer()
end end
vim.keymap.set("n", "<leader>e", toggle_or_focus_explorer, { desc = "Explorer (toggle/focus)" }) vim.keymap.set("n", "<leader>e", toggle_or_focus_explorer, { desc = "Explorer (toggle/focus)" })
@@ -0,0 +1,11 @@
return {
{
"mfussenegger/nvim-lint",
optional = true,
opts = {
linters_by_ft = {
sql = { "sqlfluff" },
},
},
},
}
@@ -6,7 +6,6 @@ return {
gopls = { gopls = {
settings = { settings = {
gopls = { gopls = {
experimentalWorkspaceModule = true,
hints = { hints = {
assignVariableTypes = false, assignVariableTypes = false,
-- compositeLiteralFields = false, -- compositeLiteralFields = false,
+1 -1
View File
@@ -1,6 +1,6 @@
return { return {
{ {
"williamboman/mason.nvim", "mason-org/mason.nvim",
opts = { opts = {
ensure_installed = { ensure_installed = {
"delve", "delve",