- Via Package Control: search for
MoonBit. - Manual: clone this repo into your Sublime
Packagesfolder.
- Make sure you have installed the sublime LSP plugin.
- Open
Preferences: LSP Settingsfrom the command palette. - Add a new LSP server to the
"clients"field.
Sublime LSP uses MdPopups to render the hovering documentations, add the following config to your global preferences (Preferences: settings from the command palette) to enable it.
"mdpopups.sublime_user_lang_map": {
"moonbit": [["moonbit", "mbti", "mbt"], ["MoonBit/MoonBit"]]
}MIT @ hyrious