Skip to content

Only include project files indexed by LSP? #21

@double-fault

Description

@double-fault

As expected, for a big project this plugin is very resource heavy/slow - however, at times this can be caused by git ls-files including many files which you don't really want to include in the project, and restricting the project files to those indexed by the LSP makes it fast enough.

Is there a neat way to only include only those files indexed by the LSP? I'm using clangd, so one way is to manually parse compile_commands.json and then pass the resultant files to the workspace_files function, but I wonder if there is an easier/more generic way to do the same?

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