aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/sysml_lsp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lsp/sysml_lsp.lua')
-rw-r--r--lsp/sysml_lsp.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/lsp/sysml_lsp.lua b/lsp/sysml_lsp.lua
new file mode 100644
index 00000000..22815655
--- /dev/null
+++ b/lsp/sysml_lsp.lua
@@ -0,0 +1,18 @@
+---@brief
+--- https://github.com/Open-MBEE/OpenSysML
+---
+--- SysML v2 and KerML language server from OpenSysML.
+---
+--- Install from the release archives, or with Go:
+---
+--- ```sh
+--- go install github.com/Open-MBEE/OpenSysML/cmd/sysml-lsp@latest
+--- ```
+
+---@type vim.lsp.Config
+return {
+ cmd = { 'sysml-lsp', '--stdio' },
+ filetypes = { 'sysml', 'kerml' },
+ root_markers = { '.git' },
+ workspace_required = false,
+}