Skip to content

lsp: Warning despite setting the preference #163

@kendriu

Description

@kendriu

I have 2 lsp servers connected to the buffer: "html", "jinja_lsp".
I have this setup for nvim-navic:

		local navic = require("nvim-navic")
		navic.setup({
			lsp = {
				auto_attach = true,
				preference = { "html" },
			},
		})

Despite having the preference setup I get the warning

nvim-navic: Trying to attach html for current buffer. Already attached to jinja_lsp. Please use the preference option to set a higher preference for one of the servers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions