Skip to content

Commit a63400d

Browse files
authored
Merge pull request #1190 from elixir-lsp/codex/replace--hos--with--how--in-todo-comments
Fix typos in markdown_utils TODO comments
2 parents c41ac0f + 8ac94ee commit a63400d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/language_server/lib/language_server/markdown_utils.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ defmodule ElixirLS.LanguageServer.MarkdownUtils do
265265
{module, type, arity} ->
266266
if match?(":" <> _, rest) do
267267
if @erlang_ex_doc? do
268-
# TODO not sure hos the docs will handle versions app/vsn does not work as of June 2024
268+
# TODO not sure how the docs will handle versions app/vsn does not work as of June 2024
269269
{app, _vsn} = DocLinks.get_app(module)
270270
"https://www.erlang.org/doc/apps/#{app}/#{module}.html#t:#{type}/#{arity}"
271271
else
@@ -286,7 +286,7 @@ defmodule ElixirLS.LanguageServer.MarkdownUtils do
286286
{module, callback, arity} ->
287287
if match?(":" <> _, rest) do
288288
if @erlang_ex_doc? do
289-
# TODO not sure hos the docs will handle versions app/vsn does not work as of June 2024
289+
# TODO not sure how the docs will handle versions app/vsn does not work as of June 2024
290290
{app, _vsn} = DocLinks.get_app(module)
291291
"https://www.erlang.org/doc/apps/#{app}/#{module}.html#c:#{callback}/#{arity}"
292292
else
@@ -371,7 +371,7 @@ defmodule ElixirLS.LanguageServer.MarkdownUtils do
371371
{app, _vsn} = app_vsn
372372

373373
if app in @all_otp_apps and @erlang_ex_doc? do
374-
# TODO not sure hos the docs will handle versions app/vsn does not work as of June 2024
374+
# TODO not sure how the docs will handle versions app/vsn does not work as of June 2024
375375
"https://www.erlang.org/doc/apps/#{app}/#{page}"
376376
else
377377
DocLinks.hex_docs_extra_link(app_vsn, page)
@@ -399,7 +399,7 @@ defmodule ElixirLS.LanguageServer.MarkdownUtils do
399399
{module, function, arity} ->
400400
if match?(":" <> _, prefix) and module != Kernel.SpecialForms do
401401
if @erlang_ex_doc? do
402-
# TODO not sure hos the docs will handle versions app/vsn does not work as of June 2024
402+
# TODO not sure how the docs will handle versions app/vsn does not work as of June 2024
403403
{app, _vsn} = DocLinks.get_app(module)
404404
"https://www.erlang.org/doc/apps/#{app}/#{module}.html##{function}/#{arity}"
405405
else

0 commit comments

Comments
 (0)