Move lang files
Some checks are pending
/ Test config on ${{matrix.node}} (20) (push) Waiting to run

This commit is contained in:
Maciej 2024-07-27 10:52:59 +03:00
parent bf90b046b8
commit 1f20dd7bc1
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
27 changed files with 81 additions and 82 deletions

View 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