Skip to content

Commit

Permalink
Support Fennel language.
Browse files Browse the repository at this point in the history
  • Loading branch information
manateelazycat committed Sep 22, 2024
1 parent a41521e commit 28ccec3
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 11 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ If your language supports mixed multi-language servers, it is recommended to che
| | [nextls](https://github.com/elixir-tools/next-ls) | |
| Elm | [elm-language-server](https://github.com/elm-tooling/elm-language-server) | |
| Erlang | [erlang-ls](https://github.com/erlang-ls/erlang_ls) | |
| Fennel | [fennel-ls](https://git.sr.ht/~xerool/fennel-ls) | |
| Fortran | [fortls](https://github.com/gnikit/fortls) | |
| Futhark | [futhark-lsp](https://futhark-lang.org) | |
| F# | [fsautocomplete](https://github.com/fsharp/FsAutoComplete) | |
Expand Down
1 change: 1 addition & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ lsp-bridge 针对许多语言都提供 2 个以上的语言服务器支持,
| | [nextls](https://github.com/elixir-tools/next-ls) | |
| Elm | [elm-language-server](https://github.com/elm-tooling/elm-language-server) | |
| Erlang | [erlang-ls](https://github.com/erlang-ls/erlang_ls) | |
| Fennel | [fennel-ls](https://git.sr.ht/~xerool/fennel-ls) | |
| Fortran | [fortls](https://github.com/gnikit/fortls) | |
| Futhark | [futhark-lsp](https://futhark-lang.org) | |
| F# | [fsautocomplete](https://github.com/fsharp/FsAutoComplete) | |
Expand Down
8 changes: 8 additions & 0 deletions langserver/fennel-ls.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "fennel-ls",
"languageId": "fennel",
"command": [
"fennel-ls"
],
"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")
(fennel-mode . "fennel-ls")
(ttcn3-mode . "ntt")
(v-mode . "v-analyzer")
(cwl-mode . "benten")
Expand Down Expand Up @@ -712,6 +713,7 @@ Possible choices are basedpyright_ruff, pyright_ruff, pyright-background-analysi
solidity-mode-hook
gleam-ts-mode-hook
ada-mode-hook
fennel-mode-hook
ttcn3-mode-hook
v-mode-hook
cwl-mode-hook
Expand Down Expand Up @@ -791,6 +793,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
(fennel-mode . lsp-bridge-indent-two-level) ; Fennel
(ttcn3-mode . lsp-bridge-indent-four-level) ; TTCN3
(v-mode . lsp-bridge-indent-four-level) ; V
(cwl-mode . lsp-bridge-indent-four-level) ; Common Workflow
Expand Down
20 changes: 9 additions & 11 deletions todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,20 @@ Below LSP server haven't supported, PR are welcome. ;)

13. **Grain**: [github.com/grain-lang/grain](https://github.com/grain-lang/grain) (Emacs haven't mode to support grain language)

14. **Red**: [github.com/bitbegin/redlangserver](https://github.com/bitbegin/redlangserver)
14. **Red**: [github.com/bitbegin/redlangserver](https://github.com/bitbegin/redlangserver) (Emacs haven't mode to support red language)

15. **Fennel**: [git.sr.ht/~xerool/fennel-ls](https://git.sr.ht/~xerool/fennel-ls)
15. **Erg**: [github.com/erg-lang/erg/tree/main/crates/els](https://github.com/erg-lang/erg/tree/main/crates/els)

16. **Erg**: [github.com/erg-lang/erg/tree/main/crates/els](https://github.com/erg-lang/erg/tree/main/crates/els)
16. **Fuzion**: [github.com/tokiwa-software/fuzion-lsp-server](https://github.com/tokiwa-software/fuzion-lsp-server)

17. **Fuzion**: [github.com/tokiwa-software/fuzion-lsp-server](https://github.com/tokiwa-software/fuzion-lsp-server)
17. **Imandra Protocol Language**: [github.com/AestheticIntegration/ipl-vscode](https://github.com/AestheticIntegration/ipl-vscode)

18. **Imandra Protocol Language**: [github.com/AestheticIntegration/ipl-vscode](https://github.com/AestheticIntegration/ipl-vscode)
18. **MOCA**: [github.com/mrglassdanny/moca-language-server](https://github.com/mrglassdanny/moca-language-server)

19. **MOCA**: [github.com/mrglassdanny/moca-language-server](https://github.com/mrglassdanny/moca-language-server)
19. **openVALIDATION**: [github.com/openvalidation/ov-language-server](https://github.com/openvalidation/ov-language-server)

20. **openVALIDATION**: [github.com/openvalidation/ov-language-server](https://github.com/openvalidation/ov-language-server)
20. **Veryl**: [github.com/dalance/veryl/tree/master/crates/languageserver](https://github.com/dalance/veryl/tree/master/crates/languageserver)

21. **Veryl**: [github.com/dalance/veryl/tree/master/crates/languageserver](https://github.com/dalance/veryl/tree/master/crates/languageserver)
21. **Standard ML**: Millet

22. **Standard ML**: Millet

23. **Systemtap**: Systemtap LSP
22. **Systemtap**: Systemtap LSP

0 comments on commit 28ccec3

Please sign in to comment.