Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Neovim 0.10+ fix #206

Copy link
Copy link
Open
Open
Copy link
@alessio-perugini

Description

@alessio-perugini
Issue body actions

First of all, thank you all for being so patient and kind in providing triage and possible fixes.
Special thanks to @leoverde2, @mike-lloyd03 for the fix, and also @speelbarrow for providing a usable branch/fork.

We have released the 0.7.7 that contains the fix. It is now possible to use it with nvim 0.10+.

Remember that the current LSP implementation doesn't support all the features and you must ensure that you're not passing additional capabilities to your nvim config.

Example:

require("lspconfig")["arduino_language_server"].setup({
	cmd = {
		vim.fn.expand("~/.local/share/nvim/mason/bin/arduino-language-server"),
		"-clangd",
		"clangd",
		"-cli",
		"/usr/bin/arduino-cli",
		"-cli-config",
		vim.fn.expand("~/.arduino15/arduino-cli.yaml"),
		"-fqbn",
		"arduini:avr:uno",
	},
	-- capabilities = capabilities, <-- DO NOT specify that
})

Hopefully, when we have more bandwidth we will release an update to https://github.com/bugst/go-lsp to support more capabilities, thus avoiding crashes.

Thank you again and apologies for the huge delay 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.