Skip to content

Commit 0b93532

Browse files
committed
lint docs
1 parent 947b7a2 commit 0b93532

File tree

1 file changed

+21
-17
lines changed

1 file changed

+21
-17
lines changed

docs/Language Servers.ipynb

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@
136136
"### Notebook-optimized Language Servers\n",
137137
"\n",
138138
"These servers have support for notebooks and file editors. The `pylsp`, and\n",
139-
"`r-languageserver`, and `robotframework_ls` implementatoons are well-tested, while `jedi` and `Julia` servers are\n",
140-
"experimental. If you choose to install multiple language servers for the same\n",
141-
"language, the one with the highest `priority` (which can be set in the _Advanced\n",
142-
"Settings Editor_) will be used."
139+
"`r-languageserver`, and `robotframework_ls` implementatoons are well-tested,\n",
140+
"while `jedi` and `Julia` servers are experimental. If you choose to install\n",
141+
"multiple language servers for the same language, the one with the highest\n",
142+
"`priority` (which can be set in the _Advanced Settings Editor_) will be used."
143143
]
144144
},
145145
{
@@ -160,12 +160,13 @@
160160
" \"jedi-language-server\",\n",
161161
" \"robotframework_ls\",\n",
162162
"]\n",
163-
"lang_server_table({\n",
164-
" key: spec\n",
165-
" for key, spec\n",
166-
" in sorted(mgr.all_language_servers.items())\n",
167-
" if key in nb_langs\n",
168-
"})"
163+
"lang_server_table(\n",
164+
" {\n",
165+
" key: spec\n",
166+
" for key, spec in sorted(mgr.all_language_servers.items())\n",
167+
" if key in nb_langs\n",
168+
" }\n",
169+
")"
169170
]
170171
},
171172
{
@@ -209,7 +210,7 @@
209210
"source": [
210211
"npm_specs = {\n",
211212
" key: spec\n",
212-
" for key, spec in sorted(mgr.all_language_servers.items()) \n",
213+
" for key, spec in sorted(mgr.all_language_servers.items())\n",
213214
" if \"npm\" in spec[\"install\"]\n",
214215
"}\n",
215216
"lang_server_table(npm_specs)"
@@ -219,8 +220,9 @@
219220
"cell_type": "markdown",
220221
"metadata": {},
221222
"source": [
222-
"NodeJS (preferrably even-numbered an _Active_ or _Maintenance Long Term Support_ release) \n",
223-
"is a prerequisite for installation of any of the above language servers; you can get it with:\n",
223+
"NodeJS (preferrably even-numbered an _Active_ or _Maintenance Long Term Support_\n",
224+
"release) is a prerequisite for installation of any of the above language\n",
225+
"servers; you can get it with:\n",
224226
"\n",
225227
"```bash\n",
226228
"conda install -c conda-forge nodejs\n",
@@ -258,13 +260,15 @@
258260
},
259261
"outputs": [],
260262
"source": [
261-
"IPython.display.Markdown(Template(\"\"\"```bash\n",
263+
"IPython.display.Markdown(\n",
264+
" Template(\n",
265+
" \"\"\"```bash\n",
262266
"jlpm add --dev {% for name, spec in specs.items() %} \\\\\n",
263267
" {{ spec[\"install\"][\"npm\"].split(\" \")[-1] }}{% endfor %}\n",
264268
"```\n",
265-
"\"\"\").render(\n",
266-
" specs=npm_specs\n",
267-
"))"
269+
"\"\"\"\n",
270+
" ).render(specs=npm_specs)\n",
271+
")"
268272
]
269273
},
270274
{

0 commit comments

Comments
 (0)