Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/creatorrr/emacs-mint-mode
Emacs major mode for mint lang
https://github.com/creatorrr/emacs-mint-mode
emacs mint-lang syntax-highlighting
Last synced: 3 months ago
JSON representation
Emacs major mode for mint lang
- Host: GitHub
- URL: https://github.com/creatorrr/emacs-mint-mode
- Owner: creatorrr
- License: gpl-3.0
- Created: 2018-11-14T08:02:40.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-05T17:20:53.000Z (about 2 years ago)
- Last Synced: 2024-10-31T15:38:52.277Z (3 months ago)
- Topics: emacs, mint-lang, syntax-highlighting
- Language: Emacs Lisp
- Homepage: https://www.mint-lang.com
- Size: 1.2 MB
- Stars: 15
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mint - Emacs mode - adds syntax highlighting and auto-formatting using mint format (Tools / Editor extensions)
README
emacs mint mode
===============Major mode for [mint lang](https://www.mint-lang.com).
Installing
----------### Using [`use-package`](https://github.com/jwiegley/use-package) and [`straight.el`](https://github.com/raxod502/straight.el)
Add the following to your `~/.emacs` config and restart your editor:
```elisp
(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`](https://github.com/conao3/leaf.el) and [`Guix`](https://guix.gnu.org)
Install [leaf.el](https://github.com/conao3/leaf.el) and [emacs-mint-mode](https://github.com/creatorrr/emacs-mint-mode) to your default [profile](https://guix.gnu.org/cookbook/en/html_node/Guix-Profiles-in-Practice.html) with the following command:
```sh
guix install emacs-leaf emacs-mint-mode
```Add the following to your `~/.emacs` or `~/.emacs.d/init.el`:
```elisp
(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](https://github.com/melpa/melpa/pull/8257))
- [x] Autocomplete support
- [x] Tag a release
- [x] Package for Guix ([Done](https://issues.guix.gnu.org/51045))
- [x] Language Server Protocol Integration and Testing ([eglot](https://github.com/joaotavora/eglot/pull/750), [lsp-mode](https://github.com/emacs-lsp/lsp-mode/pull/3679))Screenshots
-----------![Mint syntax highlight example](img/sample1.png?raw=true "Mint syntax highlight")
![Mint syntax highlight example](img/sample2.png?raw=true "Mint syntax highlight")
![Mint auto formatting example](img/sample3.png?raw=true "Mint auto formatting")