Skip to content

sigil % to ~ #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 5, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions elixir-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
"Elixir mode operators.")

(defvar elixir-mode-sigils '("B" "C" "R" "b" "c" "r")
"%-prefixed sigils that are understood by `elixir-mode'.")
"~-prefixed sigils that are understood by `elixir-mode'.")

(defvar elixir-basic-offset 2)
(defvar elixir-key-label-offset 0)
Expand All @@ -362,8 +362,8 @@
;; keywords:
`(,(concat "\\<" (regexp-opt elixir-mode-keyword-names t) "\\>") . font-lock-keyword-face)

;; % Sigils
`(,(concat "\\<%" (regexp-opt elixir-mode-sigils t) "\\>") . font-lock-builtin-face)
;; ~ Sigils
`(,(concat "\\<~" (regexp-opt elixir-mode-sigils t) "\\>") . font-lock-builtin-face)

;; builtins:
`(,(concat "\\<" (regexp-opt elixir-mode-builtin-names t) "\\>") . font-lock-builtin-face)
Expand Down
1 change: 1 addition & 0 deletions elixir-smie.el
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
;; work:
(modify-syntax-entry ?_ "w" elixir-mode-syntax-table)
(modify-syntax-entry ?? "w" elixir-mode-syntax-table)
(modify-syntax-entry ?~ "w" elixir-mode-syntax-table)

(modify-syntax-entry ?' "\"" elixir-mode-syntax-table)
(modify-syntax-entry ?# "<" elixir-mode-syntax-table)
Expand Down