@@ -904,7 +904,7 @@ contexts:
904
904
2 : string.quoted.modifiers.elixir storage.type.string.elixir
905
905
pop : true
906
906
907
- - match : ~L(?=["'])(?!''' )
907
+ - match : ~L(?=""" )
908
908
comment : LiveView
909
909
scope : meta.string.elixir storage.type.string.elixir
910
910
push :
@@ -926,28 +926,6 @@ contexts:
926
926
with_prototype :
927
927
- match : (?=^(?>\\.|[^"])*?""")
928
928
pop : true
929
- - match : \"
930
- scope : punctuation.definition.string.begin.elixir
931
- set :
932
- - meta_scope : meta.string.elixir
933
- - include : string_closing_dquote
934
- - match : ' '
935
- push : scope:text.html.eex
936
- with_prototype :
937
- - match : \\"
938
- - match : (?=")
939
- pop : true
940
- - match : \'
941
- scope : punctuation.definition.string.begin.elixir
942
- set :
943
- - meta_scope : meta.string.elixir
944
- - include : string_closing_squote
945
- - match : ' '
946
- push : scope:text.html.eex
947
- with_prototype :
948
- - match : \\'
949
- - match : (?=')
950
- pop : true
951
929
952
930
- match : ~y(?=""")
953
931
comment : YAML with interpolation
@@ -990,7 +968,7 @@ contexts:
990
968
- match : (?=^(?>\\.|[^"])*?""")
991
969
pop : true
992
970
993
- - match : ~j(?=["'])(?!''' )
971
+ - match : ~j(?=" )
994
972
comment : JSON with interpolation
995
973
scope : meta.string.elixir storage.type.string.elixir
996
974
push :
@@ -1021,59 +999,6 @@ contexts:
1021
999
- include : escaped_or_interpolated
1022
1000
- match : (?=")
1023
1001
pop : true
1024
- - match : \'
1025
- scope : punctuation.definition.string.begin.elixir
1026
- set :
1027
- - meta_scope : meta.string.elixir
1028
- - include : string_closing_squote
1029
- - match : ' '
1030
- push : scope:source.json
1031
- with_prototype :
1032
- - include : escaped_or_interpolated
1033
- - match : (?=')
1034
- pop : true
1035
-
1036
- - match : ~J(?=["'])(?!''')
1037
- comment : JSON raw
1038
- scope : meta.string.elixir storage.type.string.elixir
1039
- push :
1040
- - match : (""")(.*)\n
1041
- captures :
1042
- 1 : punctuation.definition.string.begin.elixir
1043
- 2 : invalid.illegal.opening-heredoc.elixir
1044
- set :
1045
- - meta_scope : meta.string.elixir
1046
- - match : (?<=""")
1047
- set : string_modifiers_and_pop
1048
- - match : (?=^(?>\\.|[^"])*?""")
1049
- push : heredoc_string_closing_double_pop
1050
- - match : ' '
1051
- push : scope:source.json
1052
- with_prototype :
1053
- - match : (?=^(?>\\.|[^"])*?""")
1054
- pop : true
1055
- - match : \"
1056
- scope : punctuation.definition.string.begin.elixir
1057
- set :
1058
- - meta_scope : meta.string.elixir
1059
- - include : string_closing_dquote
1060
- - match : ' '
1061
- push : scope:source.json
1062
- with_prototype :
1063
- - match : \\"
1064
- - match : (?=")
1065
- pop : true
1066
- - match : \'
1067
- scope : punctuation.definition.string.begin.elixir
1068
- set :
1069
- - meta_scope : meta.string.elixir
1070
- - include : string_closing_squote
1071
- - match : ' '
1072
- push : scope:source.json
1073
- with_prototype :
1074
- - match : \\'
1075
- - match : (?=')
1076
- pop : true
1077
1002
1078
1003
- match : ~r
1079
1004
comment : regex sigil string with interpolation
0 commit comments