2024-03-26 22:03:07 +00:00
|
|
|
;;; 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
|
2024-04-05 21:04:36 +01:00
|
|
|
;; Version: 4.0.0
|
2024-03-26 22:03:07 +00:00
|
|
|
;;
|
|
|
|
;; 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))
|
|
|
|
|
|
|
|
|
|
|
|
(use! rainbow-delimiters
|
|
|
|
"rainbow-delimiters is a =rainbow parentheses= like mode which highlights delimiters
|
|
|
|
such as parentheses, brackets or braces according to their depth. Each successive level
|
|
|
|
is highlighted in a different color. This makes it easy to spot matching delimiters,
|
|
|
|
orient yourself in the code, and tell which statements are at a given depth."
|
|
|
|
;; It doesn't work due to a problem/conflict in rainbow-delimiters
|
|
|
|
;; But we use it any way they might fix it
|
|
|
|
:commands rainbow-delimiters-mode
|
|
|
|
:hook (prog-mode . rainbow-delimiters-mode))
|
|
|
|
|
|
|
|
(use! paredit
|
|
|
|
"`paredit' is a minor mode for performing structured editing of S-expression
|
|
|
|
data. The typical example of this would be Lisp or Scheme source code."
|
|
|
|
:commands paredit-mode)
|
|
|
|
|
|
|
|
|
|
|
|
(provide 'fg42/langs/langs)
|
|
|
|
;;; langs.el ends here
|