components/prism-elixir.js

Branch


Log

Author Commit Date CI Message
Michael Schmidt 3c61c8f7 2021-10-14T14:01:11 ESLint: Added `regexp/no-useless-flag` rule (#3150)
Michael Schmidt e2630d89 2021-09-26T11:52:18 ESLint: Added `regexp/sort-alternatives` rule (#3093)
Ben Dyer 114e4626 2021-06-22T03:04:53 Elixir: Added missing keywords (#2958)
Michael Schmidt 18a00828 2021-06-13T19:53:03 ESLint: Added regexp plugin (#2924)
Michael Schmidt 79d22182 2021-06-08T13:50:35 FIxed some cases of quadratic worst-case runtime (#2922)
Michael Schmidt fd20dbe4 2021-05-01T14:53:38 ESLint: Added spacing rules (#2862)
Samuel Gordalina e6c0d298 2021-03-02T01:49:34 Elixir: Added missing keyword and other improvements (#2773)
Matthew Lehner 59f725d7 2021-01-10T04:57:59 Elixir: Added `defdelagate` keyword and highlighting for function/module names (#2709)
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