Compare commits
2
Commits
58bec27062
...
4f056a099f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f056a099f | ||
|
|
881a5dadff |
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,6 +1,6 @@
|
|||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"williamboman/mason.nvim",
|
"mason-org/mason.nvim",
|
||||||
opts = {
|
opts = {
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"delve",
|
"delve",
|
||||||
|
|||||||
Reference in new issue
Block a user