components/prism-elixir.js


Log

Author Commit Date CI Message
Michael Schmidt 7a554b5f 2020-04-16T22:27:54 Fixed several cases of exponential backtracking (#2268)
Michael Schmidt 5450e24c 2020-01-15T15:04:09 Elixir: Added support for attributes names ending with `?` (#2182)
Michael Schmidt 3ba786cd 2019-06-02T15:08:24 Tests: `lookbehind` test for patterns (#1890) This adds a test which whether `lookbehind` (if set to `true`) is necessary for a given pattern.
Golmote dac0485e 2018-04-17T00:25:03 Elixir: Fix attributes consuming punctuation. Fix #1392
Golmote e93d61f3 2018-03-26T20:57:31 Elixir: Make regexps greedy, remove comment hacks. Update known failures and tests.
Golmote cc80ccda 2018-03-13T08:15:56 Remove most of the cloning occurrences in language definitions.
Golmote 75d00d72 2017-10-22T14:33:11 Elixir: Regexp optimisation + uniform behavior between ~r and ~s
Golmote 7549eccb 2017-02-08T23:23:24 Add missing greedy config in APL, AutoIt, Dart, Elixir, Erlang, F#, Go, Haxe, Icon, Inform7, J, Makefile, Mel, Nim, Nix, NSIS, OCaml, Oz, Pari/GP, Parser, Pascal, Perl, Prolog, Pure, Qore, R, Rip, Ruby, Rust, SAS, Scheme, SQL, Stylus, Tcl and Verilog
Golmote ccb6566c 2015-09-22T23:26:10 Elixir: Fix empty comment + add test for issue #775
Daniel Berkompas 220f1dfa 2015-09-22T08:25:13 Highlight Elixir string markdown header correctly Elixir allows markdown inside its triple-quote heredoc syntax. However, the "#" used in markdown headers is currently misinterpreted as a comment. So, if you write this: ```elixir @doc """ Get the first name of a user. - `user` - A User struct. user = %User{name: "Alice Winston"} User.first_name(user) "Alice" """ ``` Prism interprets the markdown headers as comments, not as part of the string, and this messes up the coloring. This can be fixed by adding a negative lookbehind, such that the comments regex matches "#" but not "##".
Golmote 801769cc 2015-09-05T09:42:40 Elixir: Merged heredoc with strings, fixed capture, optimized operators and keywords.
Golmote 08054b15 2015-06-30T21:29:30 Add support for elixir