mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Fix hideshow mode tokens for ruby-mode
This commit is contained in:
@@ -58,8 +58,8 @@
|
||||
;; Set up hs-mode (HideShow) for Ruby
|
||||
(add-to-list 'hs-special-modes-alist
|
||||
`(ruby-mode
|
||||
,(rx (or "def" "class" "module" "{" "[")) ; Block start
|
||||
,(rx (or "}" "]" "end")) ; Block end
|
||||
,(rx (or "def" "class" "module" "do")) ; Block start
|
||||
,(rx (or "end")) ; Block end
|
||||
,(rx (or "#" "=begin")) ; Comment start
|
||||
ruby-forward-sexp nil))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user