Skip to content

Commit

Permalink
end the annoying gopls error
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomashighbaugh committed Aug 4, 2024
1 parent 6ae561c commit 2830456
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 12 deletions.
1 change: 1 addition & 0 deletions lazy-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down
1 change: 1 addition & 0 deletions lua/core/autocmds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ vim.api.nvim_create_autocmd("FileType", {
group = Utils.augroup("close_with_q"),
pattern = {
"qf",
"muren",
"help",
"man",
"notify",
Expand Down
24 changes: 12 additions & 12 deletions lua/features/lsp/lang/go.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
15 changes: 15 additions & 0 deletions lua/plugins/editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,21 @@ local Icons = require("core").icons
-- ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫

return {
{
"AckslD/muren.nvim",
config = true,
cmd = { "MurenToggle", "MurenFresh", "MurenUnique" },
keys = {
{ "<leader>ts", "<cmd>lua require('muren.api').toggle_ui()<CR>", desc = "Search and Replace" },
{ "<leader>tS", "<cmd>lua require('muren.api').open_fresh_ui()<CR>", desc = "Search and Replace Fresh" },
{
"<leader>tU",
"<esc><cmd>lua require('muren.api').open_unique_ui()<CR>",
desc = "Search and Replace Unique Word",
},
},
},

{
"serenevoid/kiwi.nvim",
dependencies = {
Expand Down

0 comments on commit 2830456

Please sign in to comment.