Skip to content

Commit

Permalink
Merge pull request #268 from kikofernandez/fix/highlight-keywords
Browse files Browse the repository at this point in the history
fix #88, highligthing keywords in encore-mode.el
  • Loading branch information
EliasC committed Oct 25, 2015
2 parents 62f1cab + 94bc201 commit 5b87dc9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions emacs/encore-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
(setq encore-constants '("true" "false" "null"))
(setq encore-primitives '("int" "string" "void" "bool"))

(setq encore-keywords-regexp (regexp-opt encore-keywords 'words))
(setq encore-danger-regexp (regexp-opt encore-danger-words 'words))
(setq encore-constants-regexp (regexp-opt encore-constants 'words))
(setq encore-primitives-regexp (regexp-opt encore-primitives 'words))
(setq encore-keywords-regexp (regexp-opt encore-keywords 'symbols))
(setq encore-danger-regexp (regexp-opt encore-danger-words 'symbols))
(setq encore-constants-regexp (regexp-opt encore-constants 'symbols))
(setq encore-primitives-regexp (regexp-opt encore-primitives 'symbols))
(setq encore-types-regexp "\\<[A-Z][a-zA-Z]*\\>")
(setq encore-function-regexp "\\<\\(def\\|stream\\)\\> \\([^(]*\\)([^)]*)\\W*:\\W*.*")
(setq encore-variable-regexp "\\<\\([A-Za-z0-9_]*\\)\\>\\W*:")
Expand Down

0 comments on commit 5b87dc9

Please sign in to comment.