emacs-mint-mode icon indicating copy to clipboard operation
emacs-mint-mode copied to clipboard

Emacs major mode for mint lang

emacs mint mode

Major mode for mint lang.

Installing

Using use-package and straight.el

Add the following to your ~/.emacs config and restart your editor:

(use-package mint-mode
  :straight (mint-mode
             :type git
             :host github
             :repo "creatorrr/emacs-mint-mode"
             :files ("tokens" "mint-mode.el"))
  :mode ("\\.mint\\'" . mint-mode))

Using leaf.el and Guix

Install leaf.el and emacs-mint-mode to your default profile with the following command:

guix install emacs-leaf emacs-mint-mode

Add the following to your ~/.emacs or ~/.emacs.d/init.el:

(leaf mint-mode)

Features

  • Syntax highlighting

Planned roadmap

Help wanted with these!

  • [x] Show formatting errors in buffer
  • [x] Highlight HTML tags and attributes
  • [x] Add to MELPA (DONE)
  • [x] Autocomplete support
  • [x] Tag a release
  • [x] Package for Guix (Done)
  • [x] Language Server Protocol Integration and Testing (eglot, lsp-mode)

Screenshots

Mint syntax highlight example Mint syntax highlight example Mint auto formatting example