From 8ac94ee71babfecbac43e226ad78b0cc9bfba592 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Samson?= Date: Wed, 11 Jun 2025 09:49:02 +0200 Subject: [PATCH] chore: correct typo in markdown utils --- .../language_server/lib/language_server/markdown_utils.ex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/language_server/lib/language_server/markdown_utils.ex b/apps/language_server/lib/language_server/markdown_utils.ex index 2c122e71f..908bb7890 100644 --- a/apps/language_server/lib/language_server/markdown_utils.ex +++ b/apps/language_server/lib/language_server/markdown_utils.ex @@ -265,7 +265,7 @@ defmodule ElixirLS.LanguageServer.MarkdownUtils do {module, type, arity} -> if match?(":" <> _, rest) do if @erlang_ex_doc? do - # TODO not sure hos the docs will handle versions app/vsn does not work as of June 2024 + # TODO not sure how the docs will handle versions app/vsn does not work as of June 2024 {app, _vsn} = DocLinks.get_app(module) "https://www.erlang.org/doc/apps/#{app}/#{module}.html#t:#{type}/#{arity}" else @@ -286,7 +286,7 @@ defmodule ElixirLS.LanguageServer.MarkdownUtils do {module, callback, arity} -> if match?(":" <> _, rest) do if @erlang_ex_doc? do - # TODO not sure hos the docs will handle versions app/vsn does not work as of June 2024 + # TODO not sure how the docs will handle versions app/vsn does not work as of June 2024 {app, _vsn} = DocLinks.get_app(module) "https://www.erlang.org/doc/apps/#{app}/#{module}.html#c:#{callback}/#{arity}" else @@ -371,7 +371,7 @@ defmodule ElixirLS.LanguageServer.MarkdownUtils do {app, _vsn} = app_vsn if app in @all_otp_apps and @erlang_ex_doc? do - # TODO not sure hos the docs will handle versions app/vsn does not work as of June 2024 + # TODO not sure how the docs will handle versions app/vsn does not work as of June 2024 "https://www.erlang.org/doc/apps/#{app}/#{page}" else DocLinks.hex_docs_extra_link(app_vsn, page) @@ -399,7 +399,7 @@ defmodule ElixirLS.LanguageServer.MarkdownUtils do {module, function, arity} -> if match?(":" <> _, prefix) and module != Kernel.SpecialForms do if @erlang_ex_doc? do - # TODO not sure hos the docs will handle versions app/vsn does not work as of June 2024 + # TODO not sure how the docs will handle versions app/vsn does not work as of June 2024 {app, _vsn} = DocLinks.get_app(module) "https://www.erlang.org/doc/apps/#{app}/#{module}.html##{function}/#{arity}" else