diff --git a/atest/07_Configuration.robot b/atest/07_Configuration.robot index 1045b843f..9399b2467 100644 --- a/atest/07_Configuration.robot +++ b/atest/07_Configuration.robot @@ -40,8 +40,8 @@ LaTeX *** Keywords *** Settings Should Change Editor Diagnostics [Arguments] ${language} ${file} ${server} ${settings} ${before} ${after} ${save command}=${EMPTY} ${needs reload}=${False} - ${before diagnostic} = Set Variable ${CSS DIAGNOSTIC}\[title^="${before}"] - ${after diagnostic} = Set Variable ${CSS DIAGNOSTIC}\[title^="${after}"] + ${before diagnostic} = Set Variable ${CSS DIAGNOSTIC}\[title*="${before}"] + ${after diagnostic} = Set Variable ${CSS DIAGNOSTIC}\[title*="${after}"] ${tab} = Set Variable ${JLAB XP DOCK TAB}\[contains(., '${file}')] ${close icon} = Set Variable *[contains(@class, 'm-TabBar-tabCloseIcon')] ${save command} = Set Variable If "${save command}" ${save command} Save ${language} File diff --git a/docs/Configuring.ipynb b/docs/Configuring.ipynb index 817aca13f..ff87b3201 100644 --- a/docs/Configuring.ipynb +++ b/docs/Configuring.ipynb @@ -62,7 +62,7 @@ "- `argv`, a list of shell tokens to launch the server in `stdio` mode (as\n", " opposed to `tcp`),\n", "- the `languages` which the server will respond to, and\n", - "- the schema `version` of the spec (currently only `1`)\n", + "- the schema `version` of the spec (currently `2`)\n", "\n", "```python\n", "# ./jupyter_notebook_config.json ---------- unique! -----------\n", @@ -73,7 +73,7 @@ " \"LanguageServerManager\": {\n", " \"language_servers\": {\n", " \"a-language-server-implementation\": {\n", - " \"version\": 1,\n", + " \"version\": 2,\n", " \"argv\": [\"/absolute/path/to/a-language-server\", \"--stdio\"],\n", " \"languages\": [\"a-language\"]\n", " }\n", @@ -106,13 +106,13 @@ " # if installed as a binary\n", " \"argv\": [shutil.which(\"a-language-server\")],\n", " \"languages\": [\"a-language\"],\n", - " \"version\": 1\n", + " \"version\": 2\n", " },\n", " \"another-language-implementation\": {\n", " # if run like a script\n", " \"argv\": [shutil.which(\"another-language-interpreter\"), \"another-language-server\"],\n", " \"languages\": [\"another-language\"],\n", - " \"version\": 1\n", + " \"version\": 2\n", " }\n", "}\n", "```"