Skip to content

LSP workspaces. #1114

@mfiano

Description

@mfiano

I have a rather complicated Neovim configuration that configures my quickfix buffer to display LSP diagnostics. With an empty Julia project and an empty base module:

module Mod

end

in a file src/Mod.jl, and also another file next to it, foo.jl that contains intentional syntax errors, LS.jl retrieves these diagnostics and my quickfix window is populated with them, despite the empty module above not using include or importing its code in any way. Switching my quickfix settings over to only pull in LSP "document" diagnostics fixes this issue for me.

I do not know enough about LSP or LS.jl to know if this should be considered a bug or a feature, but I would expect LS.jl to only know about files that are referenced in code in some way.

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