File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 167
167
(or " _" " __MODULE__" " __DIR__" " __ENV__" " __CALLER__"
168
168
" __block__" " __aliases__" )
169
169
symbol-end))
170
- (sigils . ,(rx " ~" (or " B" " C" " D" " R" " S" " b" " c" " r" " s" " w" )))))
170
+ (sigils . ,(rx " ~" (or " B" " C" " D" " N " " R" " S" " T " " b" " c" " r" " s" " w" )))))
171
171
172
172
(defmacro elixir-rx (&rest sexps )
173
173
(let ((rx-constituents (append elixir-rx-constituents rx-constituents)))
Original file line number Diff line number Diff line change 367
367
~s\"\"\"
368
368
foo
369
369
\"\"\"
370
- ~D(\" )"
370
+ ~D(\" )
371
+ ~N(\" )
372
+ ~T(\" )"
371
373
(should-not (eq (elixir-test-face-at 5 ) 'font-lock-string-face )) ; ~s//
372
374
373
375
(should-not (eq (elixir-test-face-at 7 ) 'font-lock-string-face )) ; ~r||
403
405
(should (eq (elixir-test-face-at 53 ) 'font-lock-string-face ))
404
406
(should (eq (elixir-test-face-at 55 ) 'font-lock-string-face ))
405
407
406
- (should (eq (elixir-test-face-at 66 ) 'font-lock-string-face )))) ; ~D()
408
+ (should (eq (elixir-test-face-at 66 ) 'font-lock-string-face )) ; ~D()
409
+
410
+ (should (eq (elixir-test-face-at 72 ) 'font-lock-string-face )) ; ~N()
411
+
412
+ (should (eq (elixir-test-face-at 78 ) 'font-lock-string-face )))) ; ~T()
407
413
408
414
(ert-deftest elixir-mode-syntax-table/hashmark-in-sigils ()
409
415
" Don't treat hashmark in sigils as comment"
You can’t perform that action at this time.
0 commit comments