Closed dzhwinter closed 3 years ago
here is my config, anything is wrong?
(defun configlayer/init-vimish-fold ()
(use-package vimish-fold
:defer t
:init
(progn
(setq vimish-fold-global-mode t))))
(defun configlayer/init-evil-vimish-fold ()
(use-package evil-vimish-fold
:defer t
))
The following works for me:
(use-package evil-vimish-fold
:ensure t)
(use-package vimish-fold
:ensure t
:config (vimish-fold-global-mode t))
Try adding :ensure t
to make sure it gets installed if is not already installed.
I would love to have this in my spacemacs too but beeing quite new to spacemacs / emacs I can't figure out how install it. I tried adding your lines into the user-config part of my .spacemacs but this results in the following message: 'Error in dotspacemacs/user-config: https://melpa.org/packages/vimish-fold-20160111.102.el: Not found'
Probably this it not what I should be doing? Any help / instructions would be very welcome.
Sorry I am not familiar with spacemacs, can you try refreshing your package list? Also you'll need to add a
(evil-vimish-fold-mode 1)
Since the initialisation process has changed since those instructions were written.
Thanks for your quick response. The solution is rather trivial: 1) add the package to dotspacemacs-additional-packages 2) add (evil-vimish-fold-mode 1) to user-config (all in .spacemacs file) Then, it gets installed without error message. ( thanks to @deuill for pointing this out in the spacemacs chat )
@pmillet Did you get keybindings to work? Not showing up for me
EDIT: works with a sample .cpp file, but not my dotfile (elisp). Looks like some configuration is needed.
@vv111y It worked for me, but I only tested it with .cpp files.
I've attempted to add it to Spacemacs: https://github.com/syl20bnr/spacemacs/pull/14047
My PR has been accepted into Spacemacs. This issue can be closed.
i'm finding here from spacemacs discuss session. I'm wondering that if I want to try your package with vimish-fold? just add to my private layer is not work at all.