Skip to content

Commit

Permalink
add robot to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl committed Apr 22, 2021
1 parent 3ed42dc commit 962b695
Showing 1 changed file with 32 additions and 4 deletions.
36 changes: 32 additions & 4 deletions docs/Language Servers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,12 @@
},
"outputs": [],
"source": [
"mgr.init_language_servers()"
"mgr.init_language_servers()\n",
"servers = mgr.language_servers\n",
"servers[\"robotframework_ls\"][\"install\"] = {\n",
" \"pip\": \"pip install robotframework-lsp\",\n",
" \"conda\": \"conda install -c conda-forge robotframework-lsp\",\n",
"}"
]
},
{
Expand Down Expand Up @@ -177,7 +182,7 @@
" {\n",
" key: spec\n",
" for key, spec in mgr.language_servers.items()\n",
" if \"npm\" in spec[\"install\"]\n",
" if \"npm\" in spec.get(\"install\", [])\n",
" }\n",
")"
]
Expand Down Expand Up @@ -241,7 +246,7 @@
"source": [
"### Other Scientific Languages\n",
"\n",
"These servers have been mostly tested with file editor."
"> These servers have been mostly tested with file editor."
]
},
{
Expand Down Expand Up @@ -277,6 +282,29 @@
"- `chktex`, a `.tex` style checker"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Testing Languages\n",
"\n",
"> These servers have been mostly tested with file editor."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"hide_input": true
},
"outputs": [],
"source": [
"test_langs = [\"robotframework_ls\"]\n",
"lang_server_table(\n",
" {key: spec for key, spec in mgr.language_servers.items() if key in test_langs}\n",
")"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -315,7 +343,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.9"
"version": "3.8.8"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 962b695

Please sign in to comment.