Skip to content

Commit

Permalink
Merge pull request #199 from cfclavijo/master
Browse files Browse the repository at this point in the history
Add support for Erlang
  • Loading branch information
jeffbowman authored Jul 19, 2022
2 parents 720bd8a + 9bdb212 commit a5b21a9
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions modules/crafted-erlang.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
;;; crafted-erlang.el --- Erlang development configuration -*- lexical-binding: t; -*-

;; Copyright (C) 2022
;; SPDX-License-Identifier: MIT

;; Author: System Crafters Community
;; Keywords: erlang

;;; Commentary:

;; Erlang development environment configuration with LSP.

;; Emacs packages to support Erlang development:
;; * erlang -- major-mode
;; * erlang-edoc -- highlights keywords in comments
;; * eglot -- language server integration

;;; Code:

(crafted-package-install-package 'erlang)
(crafted-package-install-package 'eglot)

;; Hooks

(add-hook 'erlang-mode-hook 'erlang-edoc-mode)
(add-hook 'erlang-mode-hook #'eglot-ensure)

(provide 'crafted-erlang)
;;; crafted-erlang.el ends here

0 comments on commit a5b21a9

Please sign in to comment.