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 341
341
" Elixir mode operators." )
342
342
343
343
(defvar elixir-mode-sigils '(" B" " C" " R" " b" " c" " r" )
344
- " % -prefixed sigils that are understood by `elixir-mode' ." )
344
+ " ~ -prefixed sigils that are understood by `elixir-mode' ." )
345
345
346
346
(defvar elixir-basic-offset 2 )
347
347
(defvar elixir-key-label-offset 0 )
367
367
; ; keywords:
368
368
`(,(concat " \\ <" (regexp-opt elixir-mode-keyword-names t ) " \\ >" ) . font-lock-keyword-face )
369
369
370
- ; ; % Sigils
371
- `(,(concat " \\ <% " (regexp-opt elixir-mode-sigils t ) " \\ >" ) . font-lock-builtin-face )
370
+ ; ; ~ Sigils
371
+ `(,(concat " \\ <~ " (regexp-opt elixir-mode-sigils t ) " \\ >" ) . font-lock-builtin-face )
372
372
373
373
; ; builtins:
374
374
`(,(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