Skip to content

How to add windows.h includes to clangd/ccls lsp? #2349

@Mcrtin

Description

@Mcrtin

I'm trying to make a 32 bit windows dll. I used to use MSVC, but I want to switch to open source compilers.
How can I add the windows headers to my lsp? I don't know how I could get them in nix-fashion and how I can Add them to the lsp config ( maybe some thing like initOptions.clang.extraArgs = ["-I${pkgs.something}/include"]; for ccls). I don't care if it is clangd or ccls for now; I just want to get it working.

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