Skip to content

Commit

Permalink
resolve todo
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson committed Feb 6, 2024
1 parent a238a27 commit b907ecd
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ defmodule ElixirLS.LanguageServer.Providers.SelectionRanges do
defp token_length(token) when token in [:"<<", :">>", :do, :fn], do: 2
defp token_length(_), do: 0

# TODO => |
@stop_tokens [:",", :";", :eol]
@stop_tokens [:",", :";", :eol, :eof, :pipe_op]

def selection_ranges(text, positions) do
lines = SourceFile.lines(text)
Expand Down

0 comments on commit b907ecd

Please sign in to comment.