Skip to content

Commit

Permalink
fix off by one error
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson committed Jul 28, 2023
1 parent 7dbd03a commit 216ff0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ defmodule ElixirLS.LanguageServer.Providers.Completion do
signature_help_supported? = Keyword.get(options, :signature_help_supported, false)
signature_after_complete? = Keyword.get(options, :signature_after_complete, true)

trigger_signature? = signature_help_supported? && arity > 1
trigger_signature? = signature_help_supported? && arity >= 1

command =
if trigger_signature? && signature_after_complete? do
Expand Down

0 comments on commit 216ff0e

Please sign in to comment.