summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/hlasm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'start/lspconfig-0.1.8/lua/lspconfig/server_configurations/hlasm.lua')
-rw-r--r--start/lspconfig-0.1.8/lua/lspconfig/server_configurations/hlasm.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/hlasm.lua b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/hlasm.lua
new file mode 100644
index 0000000..285b627
--- /dev/null
+++ b/start/lspconfig-0.1.8/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")]],
+ },
+ },
+}