From ee274259e8c74f2990911dba22745da7de9761b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madeleine=20Sydney=20=C5=9Alaga?= Date: Tue, 20 Jan 2026 10:36:15 -0700 Subject: [PATCH] feat(emacs): grammatical framework --- .../emacs/lisp/syd/grammatical-framework.el | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 modules/home/users/msyds/emacs/lisp/syd/grammatical-framework.el diff --git a/modules/home/users/msyds/emacs/lisp/syd/grammatical-framework.el b/modules/home/users/msyds/emacs/lisp/syd/grammatical-framework.el new file mode 100644 index 0000000..f840dfa --- /dev/null +++ b/modules/home/users/msyds/emacs/lisp/syd/grammatical-framework.el @@ -0,0 +1,16 @@ +;;; -*- lexical-binding: t -*- + +(require 'syd/base) + +(use-package gf) + +(with-eval-after-load 'lsp-mode + (add-to-list 'lsp-language-id-configuration + '(gf-mode . "grammatical-framework")) + (lsp-register-client + (make-lsp-client + :new-connection (lsp-stdio-connection "gf-lsp") + :activation-fn (lsp-activate-on "grammatical-framework") + :server-id 'gf-lsp))) + +(provide 'syd/grammatical-framework)