Skip to content

Control how language server interacts with workspace #681

Description

@jtlandis

Hello, I am fairly new to using LSP, but I'm trying to get to the bottom of a bug when using the languageserver and lintr packages within the zed editor: ocsmit/zed-r#6

As I understand it, zed is sending all open files to the languageserver which is causing lintr to be run on the file. I know that .lintr files can be used to list directories (or specific files) that lintr shouldn't be run, but is there a way to specify the converse, i.e. which files lintr should only be run on?

I wasn't really sure if this is something that is done via the languageserver options, the lintr package, or just zed itself.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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