diff --git a/lazy-lock.json b/lazy-lock.json index 397fb50..280eae6 100755 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -41,6 +41,7 @@ "mini.pairs": { "branch": "main", "commit": "40261dfcec7623cd57be3c3beb50fa73f2650cdf" }, "mini.surround": { "branch": "main", "commit": "3cb5b509ad34f2402df4b977be607a614c8c7524" }, "monokai-pro.nvim": { "branch": "master", "commit": "2bad2a92fe0ff6c8581d33a853a1b17592b83239" }, + "muren.nvim": { "branch": "main", "commit": "818c09097dba1322b2ca099e35f7471feccfef93" }, "neo-tree-diagnostics.nvim": { "branch": "main", "commit": "e00434c3cf8637bcaf70f65c2b9d82b0cc9bd7dc" }, "neo-tree.nvim": { "branch": "main", "commit": "8c75e8a2949cd6cd35525799200a8d34471ee9eb" }, "nix-develop.nvim": { "branch": "main", "commit": "afea026f5c478c000a8af8de87f7b711676387ab" }, diff --git a/lua/core/autocmds.lua b/lua/core/autocmds.lua index eb0241f..dc0eeb4 100644 --- a/lua/core/autocmds.lua +++ b/lua/core/autocmds.lua @@ -31,6 +31,7 @@ vim.api.nvim_create_autocmd("FileType", { group = Utils.augroup("close_with_q"), pattern = { "qf", + "muren", "help", "man", "notify", diff --git a/lua/features/lsp/lang/go.lua b/lua/features/lsp/lang/go.lua index bfea3ad..749c171 100644 --- a/lua/features/lsp/lang/go.lua +++ b/lua/features/lsp/lang/go.lua @@ -24,18 +24,18 @@ return { servers = { gopls = { settings = { - gopls = { - gofumpt = true, - codelenses = { - gc_details = false, - generate = true, - regenerate_cgo = true, - run_govulncheck = true, - test = true, - tidy = true, - upgrade_dependency = true, - vendor = true, - }, + -- gopls = { + -- gofumpt = true, + -- codelenses = { + -- gc_details = false, + -- generate = true, + -- regenerate_cgo = true, + -- run_govulncheck = true, + -- test = true, + -- tidy = true, + -- upgrade_dependency = true, + -- vendor = true, + -- }, hints = { assignVariableTypes = true, compositeLiteralFields = true, diff --git a/lua/plugins/editor.lua b/lua/plugins/editor.lua index fccd12e..627f1ff 100644 --- a/lua/plugins/editor.lua +++ b/lua/plugins/editor.lua @@ -11,6 +11,21 @@ local Icons = require("core").icons -- ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫ return { + { + "AckslD/muren.nvim", + config = true, + cmd = { "MurenToggle", "MurenFresh", "MurenUnique" }, + keys = { + { "ts", "lua require('muren.api').toggle_ui()", desc = "Search and Replace" }, + { "tS", "lua require('muren.api').open_fresh_ui()", desc = "Search and Replace Fresh" }, + { + "tU", + "lua require('muren.api').open_unique_ui()", + desc = "Search and Replace Unique Word", + }, + }, + }, + { "serenevoid/kiwi.nvim", dependencies = {