Skip to content

Commit

Permalink
Support StandardML language.
Browse files Browse the repository at this point in the history
  • Loading branch information
manateelazycat committed Sep 23, 2024
1 parent 9a087f5 commit 18cd7f2
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ If your language supports mixed multi-language servers, it is recommended to che
| SASS | [emmet-ls](https:/aca/emmet-ls) | `npm install -g emmet-ls` |
| Scala | [metals](https://scalameta.org/metals/) | |
| SCSS | [emmet-ls](https:/aca/emmet-ls) | `npm install -g emmet-ls` |
| Standard ML | [millet](https:/azdavis/millet) | |
| Svelte | [svelte](https:/sveltejs/language-tools/tree/master/packages/language-server) | |
| Swift | [sourcekit-lsp](https:/apple/sourcekit-lsp) | The SourceKit-LSP server is included with the Swift toolchain. |
| Tailwindcss | [tailwindcss-language-server](https://www.npmjs.com/package/@tailwindcss/language-server) | `npm install -g @tailwindcss/language-server` , and need config `tailwind.config.js` follow [install manual](https://tailwindcss.com/docs/installation) |
Expand Down
1 change: 1 addition & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ lsp-bridge 针对许多语言都提供 2 个以上的语言服务器支持,
| SASS | [emmet-ls](https:/aca/emmet-ls) | `npm install -g emmet-ls` |
| Scala | [metals](https://scalameta.org/metals/) | |
| SCSS | [emmet-ls](https:/aca/emmet-ls) | `npm install -g emmet-ls` |
| Standard ML | [millet](https:/azdavis/millet) | |
| Svelte | [svelte](https:/sveltejs/language-tools/tree/master/packages/language-server) | |
| Swift | [sourcekit-lsp](https:/apple/sourcekit-lsp) | Sourcekit-lsp 包含在 swift toolchain 中。 |
| Tailwindcss | [tailwindcss-language-server](https://www.npmjs.com/package/@tailwindcss/language-server) | `npm install -g @tailwindcss/language-server` , 还需要按照 [官方文档](https://tailwindcss.com/docs/installation) 配置 tailwind.config.js |
Expand Down
8 changes: 8 additions & 0 deletions langserver/millet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "millet",
"languageId": "sml",
"command": [
"millet"
],
"settings": {}
}
3 changes: 3 additions & 0 deletions lsp-bridge.el
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@ Possible choices are basedpyright_ruff, pyright_ruff, pyright-background-analysi
(solidity-mode . "solidity")
(gleam-ts-mode . "gleam")
(ada-mode . "ada-language-server")
(sml-mode . "millet")
(fuzion-mode . "fuzion-language-server")
(fennel-mode . "fennel-ls")
(ttcn3-mode . "ntt")
Expand Down Expand Up @@ -714,6 +715,7 @@ Possible choices are basedpyright_ruff, pyright_ruff, pyright-background-analysi
solidity-mode-hook
gleam-ts-mode-hook
ada-mode-hook
sml-mode-hook
fuzion-mode-hook
fennel-mode-hook
ttcn3-mode-hook
Expand Down Expand Up @@ -795,6 +797,7 @@ you can customize `lsp-bridge-get-workspace-folder' to return workspace folder p
(raku-mode . raku-indent-offset) ; Perl6/Raku
(erlang-mode . erlang-indent-level) ; Erlang
(ada-mode . ada-indent) ; Ada
(sml-mode . sml-indent-level) ; Standard ML
(fuzion-mode . lsp-bridge-indent-two-level) ; Fuzion
(fennel-mode . lsp-bridge-indent-two-level) ; Fennel
(ttcn3-mode . lsp-bridge-indent-four-level) ; TTCN3
Expand Down
12 changes: 4 additions & 8 deletions todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,10 @@ Below LSP server haven't supported, PR are welcome. ;)

15. **Erg**: [github.com/erg-lang/erg/tree/main/crates/els](https:/erg-lang/erg/tree/main/crates/els) (Emacs haven't mode to support Erg language)

16. **Imandra Protocol Language**: [github.com/AestheticIntegration/ipl-vscode](https:/AestheticIntegration/ipl-vscode)
16. **MOCA**: [github.com/mrglassdanny/moca-language-server](https:/mrglassdanny/moca-language-server) (Emacs haven't mode to suppor MOCA language)

17. **MOCA**: [github.com/mrglassdanny/moca-language-server](https:/mrglassdanny/moca-language-server)
17. **openVALIDATION**: [github.com/openvalidation/ov-language-server](https:/openvalidation/ov-language-server) (Emacs haven't suppor to openVALIDATION)

18. **openVALIDATION**: [github.com/openvalidation/ov-language-server](https:/openvalidation/ov-language-server)
18. **Veryl**: [github.com/dalance/veryl/tree/master/crates/languageserver](https:/dalance/veryl/tree/master/crates/languageserver) (Emacs haven't mode to suppor Veryl)

19. **Veryl**: [github.com/dalance/veryl/tree/master/crates/languageserver](https:/dalance/veryl/tree/master/crates/languageserver)

20. **Standard ML**: Millet

21. **Systemtap**: Systemtap LSP
19. **Systemtap**: Systemtap LSP

0 comments on commit 18cd7f2

Please sign in to comment.