|
62 | 62 | "- `argv`, a list of shell tokens to launch the server in `stdio` mode (as\n", |
63 | 63 | " opposed to `tcp`),\n", |
64 | 64 | "- the `languages` which the server will respond to, and\n", |
65 | | - "- the schema `version` of the spec (currently only `1`)\n", |
| 65 | + "- the schema `version` of the spec (currently `2`)\n", |
66 | 66 | "\n", |
67 | 67 | "```python\n", |
68 | 68 | "# ./jupyter_notebook_config.json ---------- unique! -----------\n", |
|
73 | 73 | " \"LanguageServerManager\": {\n", |
74 | 74 | " \"language_servers\": {\n", |
75 | 75 | " \"a-language-server-implementation\": {\n", |
76 | | - " \"version\": 1,\n", |
| 76 | + " \"version\": 2,\n", |
77 | 77 | " \"argv\": [\"/absolute/path/to/a-language-server\", \"--stdio\"],\n", |
78 | 78 | " \"languages\": [\"a-language\"]\n", |
79 | 79 | " }\n", |
|
106 | 106 | " # if installed as a binary\n", |
107 | 107 | " \"argv\": [shutil.which(\"a-language-server\")],\n", |
108 | 108 | " \"languages\": [\"a-language\"],\n", |
109 | | - " \"version\": 1\n", |
| 109 | + " \"version\": 2\n", |
110 | 110 | " },\n", |
111 | 111 | " \"another-language-implementation\": {\n", |
112 | 112 | " # if run like a script\n", |
113 | 113 | " \"argv\": [shutil.which(\"another-language-interpreter\"), \"another-language-server\"],\n", |
114 | 114 | " \"languages\": [\"another-language\"],\n", |
115 | | - " \"version\": 1\n", |
| 115 | + " \"version\": 2\n", |
116 | 116 | " }\n", |
117 | 117 | "}\n", |
118 | 118 | "```" |
|
0 commit comments