Fork me on GitHub
#spacemacs
<
2019-09-11
>
jimi01:09:38

This is not clj related, but does anyone know how to turn off indentation on SQL layer?

jimi01:09:32

Nvm I got it

bostonaholic02:09:51

@electricladyland156 has it been acting odd for you, too?

jimi23:09:29

I don't know if it's odd, but the auto-indent is always annoying for me. I fixed it by declaring the layer deps like this (sql :variables sql-auto-indent nil)

👍 4
bostonaholic00:09:53

it’s odd for me because the indenting style seems way off. Maybe it’s the way we’re not delineating queries with ; in the same .sql file.

Yehonathan Sharvit06:09:00

was someone able to setup lispy and lispyville with spacemacs? Any advise whether we should prefer lispyville over clever-parens

kirill.salykin11:09:43

Hope this would help

kirill.salykin11:09:13

You want also to include lispyville in extra packages

kirill.salykin11:09:29

As I mentioned earlier, clever-parens seems not maintained, and it had some issues, even may froze the emacs in some cases

kirill.salykin11:09:48

dont remember exact things

Yehonathan Sharvit17:09:18

I tried this morning and I had lots of issues

Yehonathan Sharvit19:09:11

Do I need to also be in lispy mode or lispyville is enough?

kirill.salykin19:09:32

Lispyville is basically lispy

kirill.salykin19:09:41

So lispyvikle mode is enough

Yehonathan Sharvit19:09:34

I cannot make it work properly!

Yehonathan Sharvit19:09:11

no matter what I do, j is not bound to lispy-down

Yehonathan Sharvit19:09:18

same for slurp and barf

kirill.salykin21:09:37

Lispyville works differently

Yehonathan Sharvit07:09:55

how lispyville works? I have read the README several times but I cannot get it

kirill.salykin07:09:03

It adds different keybibdigs similar to cp

kirill.salykin07:09:29

But I dunno maybe it is possible to have special mode as lispy does

practicalli-johnny00:09:04

@viebel The package evil-cleverparens is part of the Clojure layer (`develop` branch) and has worked very well for me for the last year. https://practicalli.github.io/spacemacs/install-spacemacs/evil-structural-editing.html If you are happy using smartparens (lisp state) then evil-cleverparens is an appropriate choice to make vim editing honour structural editing. Lispyvile does work very differently and needs some hacking to make it work and usable. I haven't seen a reliable tutorial to describe how to configure and use it with Spacemacs. Happy to try lispyvile out if there is such a tutorial, but I currently don't understand any advantage it brings.

practicalli-johnny00:09:04

@viebel The package evil-cleverparens is part of the Clojure layer (`develop` branch) and has worked very well for me for the last year. https://practicalli.github.io/spacemacs/install-spacemacs/evil-structural-editing.html If you are happy using smartparens (lisp state) then evil-cleverparens is an appropriate choice to make vim editing honour structural editing. Lispyvile does work very differently and needs some hacking to make it work and usable. I haven't seen a reliable tutorial to describe how to configure and use it with Spacemacs. Happy to try lispyvile out if there is such a tutorial, but I currently don't understand any advantage it brings.