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
31
lisp/langs/icejam-lang-lean.el
Normal file
31
lisp/langs/icejam-lang-lean.el
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
;;; lean -- summary -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
;;; Code:
|
||||
|
||||
(require 'icejam-prog-mode)
|
||||
(require 'icejam-lsp)
|
||||
|
||||
(use-package lean4-mode
|
||||
:straight (lean4-mode
|
||||
:type git
|
||||
:host github
|
||||
:repo "leanprover/lean4-mode"
|
||||
:files ("*.el" "data"))
|
||||
:requires (lsp)
|
||||
:defer t)
|
||||
|
||||
(defun activate-lean-mode ()
|
||||
"All things for Lean mode."
|
||||
(interactive)
|
||||
|
||||
;; Run LSP
|
||||
(lsp-deferred)
|
||||
|
||||
;; Company list override
|
||||
(add-to-list (make-local-variable 'company-backends)
|
||||
'(company-capf company-yasnippet)))
|
||||
|
||||
(add-hook 'lean4-mode-hook 'activate-lean-mode)
|
||||
|
||||
(provide 'icejam-lang-lean)
|
||||
;;; icejam-lang-lean.el ends here
|
||||
Loading…
Add table
Add a link
Reference in a new issue