From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hunter Jozwiak Newsgroups: gmane.emacs.help Subject: Working with Eglot and QMK Date: Fri, 26 Jul 2024 15:11:06 -0400 Message-ID: <87ikws9df9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="===-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11694"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 26 21:11:51 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sXQM2-0002wF-2x for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 26 Jul 2024 21:11:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sXQLf-00011i-CU; Fri, 26 Jul 2024 15:11:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sXQLb-000102-8M for help-gnu-emacs@gnu.org; Fri, 26 Jul 2024 15:11:23 -0400 Original-Received: from mail-qt1-x82b.google.com ([2607:f8b0:4864:20::82b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sXQLZ-0007sj-HL for help-gnu-emacs@gnu.org; Fri, 26 Jul 2024 15:11:23 -0400 Original-Received: by mail-qt1-x82b.google.com with SMTP id d75a77b69052e-44fea44f725so8840911cf.1 for ; Fri, 26 Jul 2024 12:11:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722021078; x=1722625878; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=zcjXYabY3o/Labc/N4XkXQNdeUwydQOICphrcgYgHvU=; b=cdfxb6vU863r+Pl4DSWLlXK4pPaoozpytG8dN0sfrdOkEWpcShnaVynVm1vc3w+iNW M4Cj3GHVvW/SfPv7tOSAhfXL5S3EUJFdEQHTv6ojmrmKV6CK9+OaW/luokel9qGCDC7F VqKFTZ4JTKLf7Ex0JTuMG4OjrLjiAcs4J3UbLXzmPZ0PWA80SXY+T5637s/4LIp8Vf2O Yw0w/c/WSacqdjGYcGhH2gQC97AJfx2BB2faIrec2sh4X6M1jmPEAm3Hxebq7g1K0maL nvgpLkGZqujYEk7b/B42hMabVuqwC4jjSTwZ1Q5AmfzGWzQZH/VOwuXE2OecPpk+FqDQ 3AVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722021078; x=1722625878; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=zcjXYabY3o/Labc/N4XkXQNdeUwydQOICphrcgYgHvU=; b=KFsUEwIFimZ88NxJiYPevEzkRdpbJSmh1p5/Wdjpm9PbKuYnn1a+I1GqWDy3Tk4SLE 3xpzV38q02H6jAJrIDVx+eyqxAcdRcZgsnr8rnW+omnusxI9je/zhioJDuWS0SNsTDUb bhAjkfZLAxcu+xRXeU3p6YZKqcinjw6I2ItgZhQ7EcxVqUDZ0qeY746s0vtM3dc4fGFV K8jf2EYAIf9Zla7UPr++HJStWowhILMXFC+BdDxO8IJZ6wjeupIGOGYoathjpbHjUUjZ APnDSxfXrBdZaynoByKErCogWGHTunkK95pANTA/4NdeLMGT9lpe9e3bkdi8iyITwrS+ uACg== X-Gm-Message-State: AOJu0Yw4M/Yr/DW7saJldWY5x5KAdjrUfpsJ8af9kFsFKBEWVeqcneKu MrXkA2a2q26KshRVNmVsJvSVl9WUbnVJduIbISLh2qZ3Y+2FbgX5Fo4AcyWr X-Google-Smtp-Source: AGHT+IF7ftLXDd+1Fizz6BPap21zlWcqKQ2BSV65+tJQHT+3yknVg7aOHVpb/mlU4OyYCcmntCeRJw== X-Received: by 2002:a05:622a:134a:b0:444:d0c9:7b6a with SMTP id d75a77b69052e-45005abe550mr10901731cf.3.1722021078175; Fri, 26 Jul 2024 12:11:18 -0700 (PDT) Original-Received: from tekunen ([2601:547:1500:6340::ae9e]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-44fe8126ce9sm15595881cf.8.2024.07.26.12.11.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jul 2024 12:11:17 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::82b; envelope-from=hunter.t.joz@gmail.com; helo=mail-qt1-x82b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147388 Archived-At: --===-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain 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? Thanks, Hunter --=-=-=-- --===-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFLBAEBCAA1FiEE8JmX63p3mcKAxtRbc+osy8QJTuEFAmaj9MoXHGh1bnRlci50 LmpvekBnbWFpbC5jb20ACgkQc+osy8QJTuFRHQgAiETz0drRgzzmhdzcNy8+ZbWP 0murPwozWV2A62a3cXjptsITPJj12yRtdUBugvcm5vIw/WgWISfCkJ+FJrTN00YO 4C88b77qpMcAnfVQAjvRJL2D/4Xm9Ctb8StlgxDBOxtdz9IbowWy8wLbElXpaEV4 qe6olf0lcKG0CzpBLniEtP4oflgAuelkp+e8G5eq2aYLqNq4gWAcqpgMUGv0neRI w+6NqIrJJssqBrHMMVEeOaqEURxIaSCCHwa6XFSKXqn2pWAnPFpYG63EwtiYyjUQ xlfOsLrv0t+P8x5uywd9dwqa6ecKG9UcYfBOs/PSivoStkKHWKUE+TiayAzU9w== =RknE -----END PGP SIGNATURE----- --===-=-=--