Skip to content

Commit

Permalink
Remove as not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
joshprice committed Jul 18, 2024
1 parent fb09939 commit e1e9d67
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/makeup/lexers/elixir_lexer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ defmodule Makeup.Lexers.ElixirLexer do
# TODO: check we're following this convention
# NOTE: if Elixir had a good static type system it would help us do the right thing here.

whitespace = ascii_string([?\r, ?\s, ?\n, ?\f, ?\t], min: 1) |> token(:whitespace)
whitespace = ascii_string([?\r, ?\s, ?\n, ?\t], min: 1) |> token(:whitespace)

newlines =
optional(ascii_string([?\s, ?\t, ?\r], min: 1))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ defmodule ElixirLexerTokenizerTestSnippet do
assert lex("\s") == [{:whitespace, %{}, "\s"}]
assert lex("\n") == [{:whitespace, %{}, "\n"}]
assert lex("\t") == [{:whitespace, %{}, "\t"}]
assert lex("\f") == [{:whitespace, %{}, "\f"}]
assert lex("\r") == [{:whitespace, %{}, "\r"}]
end

Expand Down

0 comments on commit e1e9d67

Please sign in to comment.