mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-03-15 19:20:34 -07:00
BREAKING CHANGE: This moves smartparens out of core and formally deprecates it. The package has been a performance liability and is only being used for pair management, so the rest of its functionality was overkill for what we needed it for. Instead, I'm waiting for electric.el's support for N-character pairs in Emacs 31. In the meantime, I delegate to yasnippet (later, tempel) snippets to handle more complex pairs like /* ... */ or <?php ... ?>. - To restore auto-pairing functionality (which is all Doom was using smartparens for, really), enable :emacs (electric +pair). This is not a perfect replacement for all of smartparens' capabilities. More complex pairing is being relegated to snippets (for example, /* ... */ and <?php ... ?> comment blocks will soon have snippets for them). - To restore the old smartparens functionality, enable :config (default +smartparens). Keep in mind that this is temporary! In v3, smartparens will be removed entirely OR moved to its own module; this hasn't been decided yet. Fix: #5759 Fix: #5894 Fix: #6223 Fix: #8093 Fix: #8620 |
||
|---|---|---|
| .. | ||
| .doommodule | ||
| config.el | ||
| doctor.el | ||
| packages.el | ||
| README.org | ||
:lang sml
Description unfold
This module adds SML (Standard ML) programming language support to Doom Emacs.
Maintainers
This module needs a maintainer. Become a maintainer?
Module flags
- +lsp
-
Enable LSP support for
sml-mode~/~sml-ts-mode. Requires doom-module::tools lsp and a langserver (supports millet-ls). - +tree-sitter
- Leverages tree-sitter for better syntax highlighting and structural text editing. Requires doom-module::tools tree-sitter.
Packages
- doom-package:company-mlton if doom-module::completion company
- doom-package:sml-mode
- doom-package:sml-ts-mode if doom-module:+tree-sitter
Hacks
No hacks documented for this module.
TODO Changelog
This module does not have a changelog yet.
TODO Installation
Enable this module in your doom! block.
This module requires sml and MLton.
Formatter
Formatting is handled using the doom-module::editor format module via smlformat.
TODO Usage
This module has no usage documentation yet. Write some?
TODO Configuration
This module has no configuration documentation yet. Write some?
Troubleshooting
There are no known problems with this module. Report one?
Frequently asked questions
This module has no FAQs yet. Ask one?
TODO Appendix
This module has no appendix yet. Write one?