File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 336
336
" Elixir mode operators." )
337
337
338
338
(defvar elixir-mode-sigils '(" B" " C" " R" " b" " c" " r" )
339
- " % -prefixed sigils that are understood by `elixir-mode' ." )
339
+ " ~ -prefixed sigils that are understood by `elixir-mode' ." )
340
340
341
341
(defvar elixir-basic-offset 2 )
342
342
(defvar elixir-key-label-offset 0 )
362
362
; ; keywords:
363
363
`(,(concat " \\ <" (regexp-opt elixir-mode-keyword-names t ) " \\ >" ) . font-lock-keyword-face )
364
364
365
- ; ; % Sigils
366
- `(,(concat " \\ <% " (regexp-opt elixir-mode-sigils t ) " \\ >" ) . font-lock-builtin-face )
365
+ ; ; ~ Sigils
366
+ `(,(concat " \\ <~ " (regexp-opt elixir-mode-sigils t ) " \\ >" ) . font-lock-builtin-face )
367
367
368
368
; ; builtins:
369
369
`(,(concat " \\ <" (regexp-opt elixir-mode-builtin-names t ) " \\ >" ) . font-lock-builtin-face )
Original file line number Diff line number Diff line change 17
17
; ; work:
18
18
(modify-syntax-entry ?_ " w" elixir-mode-syntax-table)
19
19
(modify-syntax-entry ?? " w" elixir-mode-syntax-table)
20
+ (modify-syntax-entry ?~ " w" elixir-mode-syntax-table)
20
21
21
22
(modify-syntax-entry ?' " \" " elixir-mode-syntax-table)
22
23
(modify-syntax-entry ?# " <" elixir-mode-syntax-table)
You can’t perform that action at this time.
0 commit comments