This commit is contained in:
parent
3c59ad8bbc
commit
2150285aea
9 changed files with 244 additions and 242 deletions
|
|
@ -7,6 +7,8 @@
|
|||
(declare-function column-enforce-n "column-enforce-mode" (number))
|
||||
(add-to-list 'auto-mode-alist '("/Eask\\'" . emacs-lisp-mode))
|
||||
|
||||
(use-package lispy :ensure t :defer t)
|
||||
|
||||
(transient-define-prefix icejam-elisp-lang-menu ()
|
||||
"Elisp Buffer Commands."
|
||||
[""
|
||||
|
|
@ -24,17 +26,13 @@
|
|||
(defun icejam-activate-emacs-lisp-mode ()
|
||||
"Goodies for editing Emacs files."
|
||||
|
||||
;; Default indentation of 2 characters
|
||||
(icejam-set-indent 2)
|
||||
|
||||
;; Use 80 char limit.
|
||||
(column-enforce-n 80)
|
||||
|
||||
;; Parents
|
||||
(smartparens-mode t)
|
||||
(icejam-set-indent 2) ;; Default indentation of 2 characters
|
||||
(column-enforce-n 80) ;; Use 80 char limit.
|
||||
(lispy-mode t) ;; Modal editing for Lisp
|
||||
|
||||
(setq-local completion-at-point-functions
|
||||
(list (cape-capf-super #'elisp-completion-at-point #'yasnippet-capf)
|
||||
(list (cape-capf-super #'elisp-completion-at-point
|
||||
#'yasnippet-capf)
|
||||
#'cape-dabbrev
|
||||
#'cape-file
|
||||
#'cape-elisp-symbol)))
|
||||
|
|
|
|||
|
|
@ -43,7 +43,11 @@
|
|||
|
||||
(setq-local lsp-eldoc-enable-hover nil)
|
||||
(setq-local lsp-completion-enable-additional-text-edit nil)
|
||||
(setq-local company-minimum-prefix-length 3))
|
||||
(setq-local completion-at-point-functions
|
||||
(list (cape-capf-super #'lsp-completion-at-point
|
||||
#'yasnippet-capf)
|
||||
#'cape-dabbrev
|
||||
#'cape-file)))
|
||||
|
||||
(add-hook 'heex-ts-mode-hook 'icejam-activate-elixir-ts-mode)
|
||||
(add-hook 'elixir-ts-mode-hook 'icejam-activate-elixir-ts-mode)
|
||||
|
|
|
|||
|
|
@ -25,8 +25,7 @@
|
|||
(purescript-indentation-mode t)
|
||||
|
||||
;; Company list override
|
||||
(add-to-list (make-local-variable 'company-backends)
|
||||
'(company-capf company-yasnippet)))
|
||||
)
|
||||
|
||||
(add-hook 'purescript-mode-hook 'icejam-activate-purescript-mode)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue