sponsor Vim development Vim logo Vim Book Ad

vim-sml : Vim support for Standard ML programming

 script karma  Rating 2/2, Downloaded by 166    Comments, bugs, improvements  Vim wiki

created by
Thomas Allen
script type
Vim support for Standard ML programming.


* Improved syntax highlighting for Standard ML
* Syntax highlighting for MLBasis, SML/NJ CM, ML-Lex, Smackage
* Improved intendation rules for Standard ML
* Indentation rules for SML/NJ CM
* Filetype detection:
  - sml: .fun, .ML, .sig, .smi
  - smlcm: .cm
  - mllex: .lex
  - mlyacc: .grm
  - mlbasis: .mlb
  - spackspec: .smackspec
* Comment support for MLBasis, SML/NJ CM, ML-Lex
* Conceal characters for Standard ML ('a -> α, etc.)
* a.vim support for Standard ML (.sml <-> .sig/.smi)
* matchit.vim support for Standard ML and ML-Lex (struct/sig <-> end, local/let <-> in)

This includes syntax highlighting improvements and conceal chars from

Please contribute/report issues at https://github.com/oinksoft/vim-sml
install details
1. Download vim-sml.zip and extract it
2. Copy the contents of vim-sml to the corresponding directories of your $VIMHOME
3. Restart vim if you already were editing SML files (other SML support was loaded)

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-sml.zip 1.2 2016-09-07 7.0 Thomas Allen a.vim, matchit.vim integration, sml syntax bugfixes
vim-sml.zip 1.1 2016-09-04 7.0 Thomas Allen Improved mllex syntax highlighting, map *.fun to sml
vim-sml.zip 1.0 2016-09-04 7.0 Thomas Allen Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo