Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug?: duplicate lint diagnostics #490

Open
vegerot opened this issue Aug 1, 2024 · 0 comments
Open

bug?: duplicate lint diagnostics #490

vegerot opened this issue Aug 1, 2024 · 0 comments

Comments

@vegerot
Copy link

vegerot commented Aug 1, 2024

My config:

	require("go").setup({
		lsp_inlay_hints = {
			enable = false,
		},
		lsp_cfg = true,
	})
	-- Run gofmt + goimports on save
	local format_sync_grp = vim.api.nvim_create_augroup("goimports", {})
	vim.api.nvim_create_autocmd("BufWritePre", {
		pattern = "*.go",
		callback = function()
			require("go.format").goimports()
		end,
		group = format_sync_grp,
	})
image

I don't know if this is a bug or an issue with my configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant