diff options
| author | slavek-kucera <53339291+slavek-kucera@users.noreply.github.com> | 2024-04-09 07:56:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-09 13:56:48 +0800 |
| commit | 9cbe6e728b53374a5e58998c1d001f995d7ae942 (patch) | |
| tree | 4c6e6a1034398f01633d381b5fc76b0fbb07fea0 /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-9cbe6e728b53374a5e58998c1d001f995d7ae942.tar nvim-lspconfig-9cbe6e728b53374a5e58998c1d001f995d7ae942.tar.gz nvim-lspconfig-9cbe6e728b53374a5e58998c1d001f995d7ae942.tar.bz2 nvim-lspconfig-9cbe6e728b53374a5e58998c1d001f995d7ae942.tar.lz nvim-lspconfig-9cbe6e728b53374a5e58998c1d001f995d7ae942.tar.xz nvim-lspconfig-9cbe6e728b53374a5e58998c1d001f995d7ae942.tar.zst nvim-lspconfig-9cbe6e728b53374a5e58998c1d001f995d7ae942.zip | |
feat: add hlasm support (#3098)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/hlasm.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/hlasm.lua b/lua/lspconfig/server_configurations/hlasm.lua new file mode 100644 index 00000000..285b6271 --- /dev/null +++ b/lua/lspconfig/server_configurations/hlasm.lua @@ -0,0 +1,20 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'hlasm_language_server' }, + filetypes = { 'hlasm' }, + root_dir = util.root_pattern '.hlasmplugin', + single_file_support = true, + }, + docs = { + description = [[ + `hlasm_language_server` is a language server for the High Level Assembler language used on IBM SystemZ mainframes. + + To learn how to configure the HLASM language server, see the [HLASM Language Support documentation](https://github.com/eclipse-che4z/che-che4z-lsp-for-hlasm). + ]], + default_config = { + root_dir = [[root_pattern(".hlasmplugin")]], + }, + }, +} |
