Fork me on GitHub
#spacemacs
<
2019-07-04
>
Eccentric J00:07:56

Anyone know off-hand how to make spacemacs perform evil yank\deletes against a register other than the system clipboard by default? I prefer the default vim behavior so I can have something in the clipboard without worrying about it getting replaced.

Eccentric J03:07:17

(local initial-state {:state :idle
                       :menu nil
                       :page active})

Eccentric J03:07:50

For some reason spacemacs thinks that’s the correct indentation

Eccentric J04:07:47

Going to take this to emacs. I’m betting this is more of a general emacs thing.

practicalli-john12:07:55

I am not experiencing any issue with indenting in Spacemacs develop

eggsyntax13:07:23

I hit something like this every once in a while. Infrequently enough that I just hand-correct it and move on. But if you find a solution, I'd love to hear about it!

Eccentric J13:07:39

Thanks, after investigating it seems to be an issue specific to fennel-mode which is another lisp language. My solution for now is to just use Clojure mode since they’re pretty similar.

👍 4
Eccentric J14:07:04

One more question: What’s the best way to run clojure-mode with .fnl files?

practicalli-john14:07:02

dont know if this is best, but apparently (add-to-list 'auto-mode-alist '("\\.fnl" . clojure-mode)) should work, if you put in your .spacemacs file...

Eccentric J21:07:02

Ended up finding the cause. https://github.com/syl20bnr/spacemacs/commit/488fc0977f0e88aefab28cfe6ba30966fc4fcdbe updates the editorconfig. I had

[*]
indent_size=2
Which was causing fennel-mode and emacs-lisp-mode to mess up indentation.