Fork me on GitHub
#vim
<
2022-02-22
>
Hukka07:02:23

How could I make == stop indenting docstrings? I sometimes have an example map there, and it's really annoying that when I indent a whole function, it also removes the indents from the documented map

Nundrum22:02:58

Are you using vim-clojure-static? I don't see a simple way to do that. It might be worth asking the project owner.

Hukka13:02:48

Yeah, I don't think I have anything overriding the defaults that come in neovim

Hukka13:02:03

Wouldn't mind though, if there are alternatives

Hukka13:02:04

I'm also trying to figure out how to make vim indent in the same way as Calva, so we wouldn't get constant, accidental indent "fixes" back and forth

Hukka13:02:36

Ah, no. vim-sexp overrides the formatting

Hukka13:02:52

I don't understand what the vim-sexp code actually does when indenting >_<

Hukka13:02:49

I think it is just logic for selecting the right area, and then delegating to whatever actually does the indenting. So vim-clojure-static, again

Hukka13:02:04

I'm also trying to figure out how to make vim indent in the same way as Calva, so we wouldn't get constant, accidental indent "fixes" back and forth