- Notifications
You must be signed in to change notification settings - Fork0
Standard ML language support extension for the Zed text editor.
License
omarjatoi/zed-sml
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This extension adds Standard ML language support to theZed text editor.
- Tree Sitter:tree-sitter-sml
- Language Server:millet
There are currently a few known issues, primarily with the language server integration in this extension:
- Formatting with millet does not currently work (see below to use
smlfmt
as an external formatter configured in Zed) - Project diagnostics do not auto resolve
You can disable the language server by configuring Zed:
{"languages": {"Standard ML": {"enable_language_server":false } }}
You can also configure Zed to usesmlfmt
to format your buffer when you save. Installsmlfmt
and make sure it's accessible in your path, and add the following configuration:
{"languages": {"Standard ML": {"enable_language_server":false,"formatter": {"external": {"command":"smlfmt" } } }}
Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.
tree-sitter-sml
licensed underMITmillet
lincesed under eitherMIT or Apache