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

Slow When Loading Python File #608

Open
fishbotics opened this issue Oct 23, 2023 · 0 comments
Open

Slow When Loading Python File #608

fishbotics opened this issue Oct 23, 2023 · 0 comments

Comments

@fishbotics
Copy link

Hi,

I'm not sure if this is the right place to post, but my Neovim is super slow when I'm loading a Python file. It seems that the issue is coming from Coq and I am wondering if anyone here has a good tip on what to do.

When I remove the following lines, the slowdown goes away

local coq = require("coq")
for lsp, settings in pairs(lsp_servers) do
	require("lspconfig")[lsp].setup(coq.lsp_ensure_capabilities({
		on_attach = function(_, buffer)
			server_maps({ buffer = buffer })
		end,
		settings = settings,
	}))
end

I'm attached my whole init.lua just in case (had to rename it to a txt file be able to upload).
init.lua

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