Install erlang-mode by entering the following commands in the terminal:
sudo apt update sudo apt install erlang-mode
Description:
Erlang major editing mode for Emacs
This package includes the mode for editing Erlang programs in GNU Emacs. It is provided with the default Erlang/OTP distribution. It supports sophisticated indentation, syntax highlighting, electric commands, module name verification, comments, skeletons, tags etc.
Homepage: http://www.erlang.org/
Version: 1:20.2.2+dfsg-1ubuntu2
Section: universe/interpreters