summaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2015-01-20 14:36:01 +0100
committerGravatar Tom Willemse2015-01-20 14:36:01 +0100
commit7de3d74dfa77fd892f6dfe02db6d68a255ec5537 (patch)
tree2e58061beea0938223b35aea63a12bfe9cf0370d /emacs/.emacs.d/init.org
parentd061d492a7f09e015ac56437bb6d80bb44d7cf2f (diff)
downloaddotfiles-7de3d74dfa77fd892f6dfe02db6d68a255ec5537.tar.gz
dotfiles-7de3d74dfa77fd892f6dfe02db6d68a255ec5537.zip
Use imenu in SCSS mode
Diffstat (limited to 'emacs/.emacs.d/init.org')
-rw-r--r--emacs/.emacs.d/init.org8
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 546da0a..90295e3 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1114,6 +1114,14 @@
(add-hook 'scss-mode-hook #'auto-complete-mode)
#+END_SRC
+ - Enable imenu
+
+ #+BEGIN_SRC emacs-lisp
+ (declare-function scss-imenu-setup "scss-imenu")
+
+ (add-hook 'scss-mode-hook #'scss-imenu-setup)
+ #+END_SRC
+
** Haml
- Automatically match parentheses and other delimiters.