From aea303fdb0b777c3707b38e5c6d6f56e5836753c Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Mon, 25 Mar 2024 14:33:34 +0000 Subject: [PATCH] Add emacs lisp configuration to v4 --- lisp/fg42/langs/elisp.el | 41 ++++++++++++++++++++++++++++++++++++++ lisp/fg42/langs/verilog.el | 2 +- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 lisp/fg42/langs/elisp.el diff --git a/lisp/fg42/langs/elisp.el b/lisp/fg42/langs/elisp.el new file mode 100644 index 0000000..d269b29 --- /dev/null +++ b/lisp/fg42/langs/elisp.el @@ -0,0 +1,41 @@ +;;; FG42 --- The mighty editor for the emacsians -*- lexical-binding: t; -*- +;; +;; Copyright (c) 2010-2024 Sameer Rahmani & Contributors +;; +;; Author: Sameer Rahmani +;; URL: https://devheroes.codes/FG42/FG42 +;; Version: 3.0.0 +;; +;; This program is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. +;; +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. +;; +;; You should have received a copy of the GNU General Public License +;; along with this program. If not, see . +;; +;;; Commentary: +;;; Code: +(eval-when-compile + (require 'fpkg)) + + +(use! eros + "Evaluation Result OverlayS for Emacs Lisp." + :commands eros-mode) + +(use! emacs-lisp-mode + "Elisp mode." + :hook (emacs-lisp . rainbow-delimiters) + :hook (emacs-lisp . paredit-mode) + :hook (emacs-lisp . company-mode) + :hook (emacs-lisp . eros-mode)) + + +(provide 'fg42/langs/elisp) +;;; elisp.el ends here diff --git a/lisp/fg42/langs/verilog.el b/lisp/fg42/langs/verilog.el index a9d3747..7ae0bf2 100644 --- a/lisp/fg42/langs/verilog.el +++ b/lisp/fg42/langs/verilog.el @@ -31,7 +31,7 @@ https://www.veripool.org/verilog-mode/") (use! verilog-ext "This package provides useful extensions on top of `verilog-mode' and `verilog-ts-mode'." - :hook ((verilog-mode . verilog-ext-mode)) + :hook (verilog-mode . verilog-ext-mode) :init (setq verilog-ext-eglot-default-server 've-svls) (setq verilog-ext-feature-list