Move lang files
Some checks are pending
/ Test config on ${{matrix.node}} (20) (push) Waiting to run
Some checks are pending
/ Test config on ${{matrix.node}} (20) (push) Waiting to run
This commit is contained in:
parent
bf90b046b8
commit
1f20dd7bc1
27 changed files with 81 additions and 82 deletions
|
|
@ -1,33 +0,0 @@
|
|||
;;; languages/elisp -- summary -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
;;; Code:
|
||||
|
||||
(require 'icejam-prog-mode)
|
||||
|
||||
(transient-define-prefix +custom-lang-elisp/transient-context-menu ()
|
||||
"Elisp Buffer Commands."
|
||||
[""
|
||||
["Buffer"
|
||||
("r" "Reload" revert-buffer-no-confirm)
|
||||
("i" "Indent" mark-and-indent-whole-buffer)
|
||||
("e" "Show Errors" flycheck-list-errors)]]
|
||||
[""
|
||||
("q" "Quit" keyboard-quit)])
|
||||
|
||||
(defun activate-emacs-lisp-mode ()
|
||||
"Goodies for editing Emacs files."
|
||||
(set-indent 2) ;; Default indentation of 2 characters
|
||||
(column-enforce-n 80)
|
||||
(setq-default indent-tabs-mode nil)
|
||||
|
||||
(define-key emacs-lisp-mode-map
|
||||
(kbd "C-c l") '+custom-lang-elisp/transient-context-menu)
|
||||
|
||||
;; Company list override
|
||||
(add-to-list (make-local-variable 'company-backends)
|
||||
'(company-yasnippet company-elisp)))
|
||||
|
||||
(add-hook 'emacs-lisp-mode-hook 'activate-emacs-lisp-mode)
|
||||
|
||||
(provide '+custom-lang-elisp)
|
||||
;;; elisp.el ends here
|
||||
Loading…
Add table
Add a link
Reference in a new issue