File tree Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -88,19 +88,4 @@ def project do
8888 end 
8989 EOF 
9090 end 
91- 
92-  it  'detects atoms containing @ in it'  do 
93-  expect ( <<~EOF ) . to  include_elixir_syntax ( 'elixirAtom' ,  '@somewhere' ) 
94-  :atom@somewhere 
95-  EOF 
96-  expect ( <<~EOF ) . to  include_elixir_syntax ( 'elixirAtom' ,  '@somewhere' ) 
97-  [atom@somewhere: nil] 
98-  EOF 
99-  end 
100- 
101-  it  'detects atoms containing Unicode letters in it'  do 
102-  expect ( <<~EOF ) . to  include_elixir_syntax ( 'elixirAtom' ,  'ó' ) 
103-  :atóm 
104-  EOF 
105-  end 
10691end 
Original file line number Diff line number Diff line change @@ -41,9 +41,9 @@ syn match elixirOperator '\\\\\|::\|\*\|/\|\~\~\~\|@'
4141
4242syn  match  elixirAlias  ' \( [a-z]\)\@ <![A-Z]\w *\% (\. [A-Z]\w *\) *' 
4343
44- syn  match  elixirAtom  ' \( :\)\@ <!:\% ([a-zA-Z_]\%  ( \w\| @ \|\P\) *\% ([?!]\| =[>=]\@ !\)\?\| <>\| ===\?\| >=\?\| <=\?\) ' 
44+ syn  match  elixirAtom  ' \( :\)\@ <!:\% ([a-zA-Z_]\w  *\% ([?!]\| =[>=]\@ !\)\?\| <>\| ===\?\| >=\?\| <=\?\) ' 
4545syn  match  elixirAtom  ' \( :\)\@ <!:\% (<=>\| &&\?\| %\( ()\|\[\]\| {}\)\| ++\?\| --\?\| ||\?\| !\| //\| [%&`/|]\) ' 
46- syn  match  elixirAtom  " \% ([a-zA-Z_]\%  ( \w\| @ \|\P\) *[?!]\?\) :\( :\)\@ !" 
46+ syn  match  elixirAtom  " \% ([a-zA-Z_]\w  *[?!]\?\) :\( :\)\@ !" 
4747
4848syn  keyword  elixirBoolean  true false nil 
4949
                                 You can’t perform that action at this time. 
               
                  
0 commit comments