diff options
author | Bryan Parno <parno@microsoft.com> | 2013-12-12 11:34:33 -0800 |
---|---|---|
committer | Bryan Parno <parno@microsoft.com> | 2013-12-12 11:34:33 -0800 |
commit | 87cbe4be0506bd30df76a5640135fe8ccff08cc1 (patch) | |
tree | a74cf13edcd2e2c8174ba0f6af6050a88b823262 /Util | |
parent | 376de738788587074764afae8eb096e589402ef2 (diff) |
Fixed emacs coloring to not color things that are only substrings of symbols
Patch provided by Jay Lorch.
Diffstat (limited to 'Util')
-rw-r--r-- | Util/Emacs/dafny-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Util/Emacs/dafny-mode.el b/Util/Emacs/dafny-mode.el index 2fe109f5..204dec45 100644 --- a/Util/Emacs/dafny-mode.el +++ b/Util/Emacs/dafny-mode.el @@ -19,7 +19,7 @@ ;; font-lock
(defun dafny-regexp-opt (l)
- (concat "\\<" (concat (regexp-opt l t) "\\>")))
+ (concat "\\_<" (concat (regexp-opt l t) "\\_>")))
(defconst dafny-font-lock-keywords-1
(list
|