Created
April 16, 2014 13:43
-
-
Save shepmaster/10877484 to your computer and use it in GitHub Desktop.
Allow dabbrev to use symbols for non-symbols and vice-versa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun dabbrev-allow-symbols () | |
(setq-local dabbrev-abbrev-skip-leading-regexp ":")) | |
(add-hook 'ruby-mode-hook 'dabbrev-allow-symbols) | |
(add-hook 'clojure-mode-hook 'dabbrev-allow-symbols) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment