From 505dc699dbf393a19c9be70dc13943c44bfae26d Mon Sep 17 00:00:00 2001 From: Lukasz Samson Date: Sat, 17 Feb 2024 15:16:17 +0100 Subject: [PATCH] bump elixir_sense --- apps/language_server/lib/language_server/markdown_utils.ex | 6 +++++- apps/language_server/test/providers/completion_test.exs | 6 ++++++ dep_versions.exs | 2 +- mix.lock | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/apps/language_server/lib/language_server/markdown_utils.ex b/apps/language_server/lib/language_server/markdown_utils.ex index 053c6ca54..20effa3f8 100644 --- a/apps/language_server/lib/language_server/markdown_utils.ex +++ b/apps/language_server/lib/language_server/markdown_utils.ex @@ -105,7 +105,11 @@ defmodule ElixirLS.LanguageServer.MarkdownUtils do end defp get_metadata_entry_md({:implementing_module_app, app}) do - "**Behaviour defined in application** #{inspect(app)}" + "**Behaviour defined in application** #{to_string(app)}" + end + + defp get_metadata_entry_md({:app, app}) do + "**Application** #{to_string(app)}" end defp get_metadata_entry_md({:optional, true}) do diff --git a/apps/language_server/test/providers/completion_test.exs b/apps/language_server/test/providers/completion_test.exs index 29181f7d0..0d317a657 100644 --- a/apps/language_server/test/providers/completion_test.exs +++ b/apps/language_server/test/providers/completion_test.exs @@ -1281,6 +1281,12 @@ defmodule ElixirLS.LanguageServer.Providers.CompletionTest do :kind => "markdown", "value" => """ The summary + + **Application** language_server + + + + ```elixir @spec add( a_big_name :: diff --git a/dep_versions.exs b/dep_versions.exs index 0f34a9758..3fdcaf0a9 100644 --- a/dep_versions.exs +++ b/dep_versions.exs @@ -1,5 +1,5 @@ [ - elixir_sense: "e4c0282b8c2afa68652227992a223b1a9aab2c54", + elixir_sense: "d7b12a11df4bcacfa64afb23b5566e64509b740d", dialyxir_vendored: "d50dcd7101c6ebd37b57b7ee4a7888d8cb634782", jason_v: "c81537e2a5e1acacb915cf339fe400357e3c2aaa", erl2ex_vendored: "073ac6b9a44282e718b6050c7b27cedf9217a12a", diff --git a/mix.lock b/mix.lock index b4488cd29..5911c7ea9 100644 --- a/mix.lock +++ b/mix.lock @@ -2,7 +2,7 @@ "benchee": {:hex, :benchee, "1.1.0", "f3a43817209a92a1fade36ef36b86e1052627fd8934a8b937ac9ab3a76c43062", [:mix], [{:deep_merge, "~> 1.0", [hex: :deep_merge, repo: "hexpm", optional: false]}, {:statistex, "~> 1.0", [hex: :statistex, repo: "hexpm", optional: false]}], "hexpm", "7da57d545003165a012b587077f6ba90b89210fd88074ce3c60ce239eb5e6d93"}, "deep_merge": {:hex, :deep_merge, "1.0.0", "b4aa1a0d1acac393bdf38b2291af38cb1d4a52806cf7a4906f718e1feb5ee961", [:mix], [], "hexpm", "ce708e5f094b9cd4e8f2be4f00d2f4250c4095be93f8cd6d018c753894885430"}, "dialyxir_vendored": {:git, "https://github.com/elixir-lsp/dialyxir.git", "d50dcd7101c6ebd37b57b7ee4a7888d8cb634782", [ref: "d50dcd7101c6ebd37b57b7ee4a7888d8cb634782"]}, - "elixir_sense": {:git, "https://github.com/elixir-lsp/elixir_sense.git", "e4c0282b8c2afa68652227992a223b1a9aab2c54", [ref: "e4c0282b8c2afa68652227992a223b1a9aab2c54"]}, + "elixir_sense": {:git, "https://github.com/elixir-lsp/elixir_sense.git", "d7b12a11df4bcacfa64afb23b5566e64509b740d", [ref: "d7b12a11df4bcacfa64afb23b5566e64509b740d"]}, "erl2ex_vendored": {:git, "https://github.com/elixir-lsp/erl2ex.git", "073ac6b9a44282e718b6050c7b27cedf9217a12a", [ref: "073ac6b9a44282e718b6050c7b27cedf9217a12a"]}, "erlex_vendored": {:git, "https://github.com/elixir-lsp/erlex.git", "82db0e82ee4896491bc26dec99f5d795f03ab9f4", [ref: "82db0e82ee4896491bc26dec99f5d795f03ab9f4"]}, "jason_v": {:git, "https://github.com/elixir-lsp/jason.git", "c81537e2a5e1acacb915cf339fe400357e3c2aaa", [ref: "c81537e2a5e1acacb915cf339fe400357e3c2aaa"]},