mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-16 15:56:52 -05:00
feature/evil: make evil-vimish-fold less ubiquitous #439
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
;;; feature/evil/autoload/folds.el -*- lexical-binding: t; -*-
|
||||
|
||||
(require 'evil-vimish-fold)
|
||||
(require 'hideshow)
|
||||
|
||||
;; `hideshow' is a decent code folding implementation, but it won't let you
|
||||
;; create custom folds. `evil-vimish-fold' offers custom folds, but essentially
|
||||
;; ignores any other type of folding (indent or custom markers, which
|
||||
@@ -15,7 +18,6 @@
|
||||
(unless (bound-and-true-p hs-minor-mode)
|
||||
(hs-minor-mode +1)))
|
||||
|
||||
(require 'hideshow)
|
||||
(advice-add #'hs-toggle-hiding :before #'+evil--ensure-modes)
|
||||
(advice-add #'hs-hide-block :before #'+evil--ensure-modes)
|
||||
(advice-add #'hs-hide-level :before #'+evil--ensure-modes)
|
||||
|
Reference in New Issue
Block a user