Fork me on GitHub
#vim
<
2021-11-14
>
Ngoc Khuat13:11:44

hi, does anyone able to config vim to understand the style/indent? https://docs.cider.mx/cider/indent_spec.html I use: • conjure • coc.vim to connect to lsp

nbardiuk15:11:23

conjure does not indent, and the lsp is using cljfmt for fomatting. There is an open issue to support this kind of metadata https://github.com/weavejester/cljfmt/issues/49

nbardiuk15:11:32

Our team is using only handful of macros that require custom indentation and it is not hard to configure indentation for them in lsp configuration https://github.com/clojure-lsp/clojure-lsp/blob/master/docs/settings.md

Ngoc Khuat16:11:26

Hi, thanks for your response! Do you happen to know any way to work around this?

nbardiuk16:11:00

in our team we workaround this by configuring indents in lsp settings

1