Compare commits
2
Commits
58bec27062
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f056a099f | ||
|
|
881a5dadff |
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)" })
|
||||
@@ -0,0 +1,11 @@
|
||||
return {
|
||||
{
|
||||
"mfussenegger/nvim-lint",
|
||||
optional = true,
|
||||
opts = {
|
||||
linters_by_ft = {
|
||||
sql = { "sqlfluff" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -6,7 +6,6 @@ return {
|
||||
gopls = {
|
||||
settings = {
|
||||
gopls = {
|
||||
experimentalWorkspaceModule = true,
|
||||
hints = {
|
||||
assignVariableTypes = false,
|
||||
-- compositeLiteralFields = false,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
return {
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
"mason-org/mason.nvim",
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"delve",
|
||||
|
||||
Reference in new issue
Block a user