Skip to content

Commit

Permalink
Add HLASM language support
Browse files Browse the repository at this point in the history
  • Loading branch information
manateelazycat committed Jul 14, 2024
1 parent b0095f7 commit 094f551
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ If your language supports mixed multi-language servers, it is recommended to che
| GraphQL | [graphql-lsp](https://github.com/graphql/graphiql/tree/main/packages/graphql-language-service-cli) | |
| Groovy | [groovy-language-server](https://github.com/GroovyLanguageServer/groovy-language-server) | Create a script "groovy-language-server" in PATH, with `$JAVA_HOME/bin/java -jar <path>/groovy-language-server-all.jar` |
| Haskell | [hls](https://github.com/haskell/haskell-language-server) | |
| HLASM | [che-che4z-lsp-for-hlasm](https://github.com/eclipse-che4z/che-che4z-lsp-for-hlasm) | |
| HTML | [vscode-html-language-server](https://github.com/hrsh7th/vscode-langservers-extracted) | `npm i -g vscode-langservers-extracted` |
| Java | [eclipse.jdt.ls](https://projects.eclipse.org/projects/eclipse.jdt.ls) | Please ensure that `org.eclipse.jdt.ls.product/target/repository/bin` is in your system PATH at first, please see the details at [Wiki](https://github.com/manateelazycat/lsp-bridge/wiki/Eclipse-JDT-Language-Server) |
| Javascript | [typescript](https://github.com/microsoft/TypeScript) | `npm i -g typescript` |
Expand Down
1 change: 1 addition & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ lsp-bridge 针对许多语言都提供 2 个以上的语言服务器支持,
| GraphQL | [graphql-lsp](https://github.com/graphql/graphiql/tree/main/packages/graphql-language-service-cli) | |
| Groovy | [groovy-language-server](https://github.com/GroovyLanguageServer/groovy-language-server) | 在 PATH 中创建一个名为 "groovy-language-server" 的脚本, 内容为 `$JAVA_HOME/bin/java -jar <path>/groovy-language-server-all.jar` |
| Haskell | [hls](https://github.com/haskell/haskell-language-server) | |
| HLASM | [che-che4z-lsp-for-hlasm](https://github.com/eclipse-che4z/che-che4z-lsp-for-hlasm) | |
| HTML | [vscode-html-language-server](https://github.com/hrsh7th/vscode-langservers-extracted) | `npm i -g vscode-langservers-extracted` |
| Java | [eclipse.jdt.ls](https://projects.eclipse.org/projects/eclipse.jdt.ls) | 请确保导出 `org.eclipse.jdt.ls.product/target/repository/bin` 到你系统的 PATH 路径, 具体请看 [Wiki](https://github.com/manateelazycat/lsp-bridge/wiki/Eclipse-JDT-Language-Server) |
| Javascript | [typescript](https://github.com/microsoft/TypeScript) | `npm i -g typescript` |
Expand Down
8 changes: 8 additions & 0 deletions langserver/che-che4z-lsp-for-hlasm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "che-che4z-lsp-for-hlasm",
"languageId": "hlasm",
"command": [
"hlasm-language-support"
],
"settings": {}
}
4 changes: 4 additions & 0 deletions lsp-bridge.el
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ Possible choices are basedpyright_ruff, pyright_ruff, pyright-background-analysi
(gleam-ts-mode . "gleam")
(ada-mode . "ada-language-server")
(cobol-mode . "che-che4z-lsp-for-cobol")
(hlasm-mode . "che-che4z-lsp-for-hlasm")
(yang-mode . "yang-lsp")
(mint-mode . "mint-ls")
(purescript-mode . "purescript-language-server")
Expand Down Expand Up @@ -684,6 +685,7 @@ Possible choices are basedpyright_ruff, pyright_ruff, pyright-background-analysi
gleam-ts-mode-hook
ada-mode-hook
cobol-mode-hook
hlasm-mode-hook
yang-mode-hook
mint-mode-hook
purescript-mode-hook
Expand Down Expand Up @@ -718,6 +720,7 @@ you can customize `lsp-bridge-get-workspace-folder' to return workspace folder p

(defvar lsp-bridge-indent-two-level 2)
(defvar lsp-bridge-indent-four-level 4)
(defvar lsp-bridge-indent-eight-level 8)

(defvar lsp-bridge-formatting-indent-alist
'((c-mode . c-basic-offset) ; C
Expand Down Expand Up @@ -746,6 +749,7 @@ you can customize `lsp-bridge-get-workspace-folder' to return workspace folder p
(erlang-mode . erlang-indent-level) ; Erlang
(ada-mode . ada-indent) ; Ada
(cobol-mode . lsp-bridge-indent-four-level) ; Cobol
(hlasm-mode . lsp-bridge-indent-eight-level) ; HLASM
(yang-mode . lsp-bridge-indent-two-level) ; Yang
(mint-mode . lsp-bridge-indent-two-level) ; Mint
(purescript-mode . purescript-indent-offset) ; PureScript
Expand Down
4 changes: 0 additions & 4 deletions todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ Below LSP server haven't supported, PR are welcome. ;)

19. **Helm (Kubernetes)**: [github.com/mrjosh/helm-ls](https://github.com/mrjosh/helm-ls)

20. **IBM High Level Assembler**:
- Broadcom: [github.com/eclipse/che-che4z-lsp-for-hlasm](https://github.com/eclipse/che-che4z-lsp-for-hlasm)
- IBM: marketplace.visualstudio.com/items?itemName=IBM.zopeneditor

21. **Imandra Protocol Language**: [github.com/AestheticIntegration/ipl-vscode](https://github.com/AestheticIntegration/ipl-vscode)

22. **Java**:
Expand Down

0 comments on commit 094f551

Please sign in to comment.