summaryrefslogtreecommitdiff
path: root/src/main.mlton.sml
diff options
context:
space:
mode:
authorGravatar Simon Van Casteren <simon.van.casteren@gmail.com>2019-12-08 20:50:40 +0100
committerGravatar Simon Van Casteren <simonvancasteren@localhost.localdomain>2019-12-13 11:46:57 +0100
commitf5bfb7ab3a23485230a97b87ac5839eea8c79486 (patch)
treed9c4efba39fa62a24db335a6c44347682ec3ef7f /src/main.mlton.sml
parente6b943962dd1bf522a67178220cb1753d34240fa (diff)
Added initial version of lsp
Diffstat (limited to 'src/main.mlton.sml')
-rw-r--r--src/main.mlton.sml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.mlton.sml b/src/main.mlton.sml
index 7f8540f2..1747d702 100644
--- a/src/main.mlton.sml
+++ b/src/main.mlton.sml
@@ -253,6 +253,7 @@ fun oneRun args =
SOME "print module name of <file> and exit"),
("getInfo", ONE ("<file:row:col>", getInfo),
SOME "print info of expression at <file:row:col> and exit"),
+ ("startLspServer", ZERO Lsp.startServer, SOME "Start Language Server Protocol server"),
("noEmacs", set_true Demo.noEmacs,
NONE),
("limit", TWO ("<class>", "<num>", add_class),