forked from FG42/FG42
1
0
Fork 0
FG42/nix/modules/elisp/lisp/fg42/elisp.el

55 lines
1.7 KiB
EmacsLisp

;;; FG42 --- The mighty editor for the emacsians -*- lexical-binding: t; -*-
;;
;; Copyright (c) 2010-2024 Sameer Rahmani & Contributors
;;
;; Author: Sameer Rahmani <lxsameer@gnu.org>
;; URL: https://devheroes.codes/FG42/FG42
;; Version: 4.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 <http://www.gnu.org/licenses/>.
;;
;;; Commentary:
;;; Code:
(eval-when-compile
(require 'fpkg))
(cl-defmethod fg42/format-buffer-for ((mode (eql emacs-lisp-mode)))
"Disable the language server formatting for `emacs-lisp-mode' MODE.
Since we're using `Emacs' itself to handle formatting, we don't need
to use this feature. So we can do nothing in this function.")
(cl-defmethod fg42/setup-lang-server-for ((mode (eql emacs-lisp-mode)))
"Disable lang server for `emacs-lisp-mode' MODE.")
(use! eros
"Evaluation Result OverlayS for Emacs Lisp."
:commands eros-mode)
(use! paredit
"Minor mode for editing parentheses."
:commands enable-paredit-mode)
(use! elisp-mode
"Elisp mode."
:hook
(emacs-lisp-mode . enable-paredit-mode)
(emacs-lisp-mode . eros-mode))
(provide 'fg42/elisp)
;;; elisp.el ends here