Hi, Hunter Jozwiak writes: > Hello, > > What is the procedure for getting Eglot to work with my QMK fork? I was > trying to set it up last night, but not really sure where to begin. To > test, I opened up my keymap for the ZSA Moonlander I got recently and > ran eglot, which seemed to open normally. Then, I went over to the > layouts themselves and put point over the LAYOUT macro usage, where I > then ran xref-find-definitions and got nothing defined for that > identifier. A did a bit of digging and discovered the > generate-compilation-database command for making a > compile-commands.json which is supposed to fix these issues, but eglot > doesn't seem to be using it after I generated it and restarted the > LSP. Is there another step to get things working with clangd? AFAIK, it should "Just Work" with clangd after you provide compile commands: https://docs.qmk.fm/cli_commands#qmk-generate-compilation-database .. though, I have not tried. -- Arsen Arsenović