Fork me on GitHub
#calva
<
2020-06-11
>
pez05:06:00

@jmv305 associate it with "clojure", to Calva there is no edn language.

jmv15:06:49

thanks, i will go that route. the only downside is that it highlights everything in red until i configure clj-kondo but that's pretty minor.

orestis11:06:33

I was asking recently about weird behaviour when typing into Calva. I managed to capture a small video showing it: https://i.ibb.co/rm0GYPc/ezgif-com-crop.gif

orestis11:06:12

Two things: 1. the highlighting of the brackets as you type 2. the changing colors of require letters

pez15:06:43

How does it behave if you disable Calva?

orestis16:06:36

Ah good call - I’ll check

bringe16:06:51

I don't see a change in color of the require letters (#2) in that gif. Am I missing something? Regarding #1, @U0ETXRFEW Is that a side effect of color-matching the open/close characters? Wonder if there is a way to prevent the highlight. I am differentiating here between coloring (which we call highlighting some in the code base I think), and actual highlighting like when you select text with the cursor.

orestis16:06:29

If you see the u and i in require start off blue when I type them, then go to orange (the final stage).

orestis16:06:14

@U0ETXRFEW with calva disabled both issues disappear (but I get VSCode paren match which is weird, though better looking visually IMO)

pez17:06:41

Thanks for trying that out. Calva‘s matching is quite involved, a lot of things happen when one character is typed. But maybe we can control the rendering some. Please file an issue.

orestis17:06:21

I will - was just curious if this only happens to me

pez17:06:32

I haven’t noticed, and haven’t tried yet, now that I know what to look for. But I really doubt it is just on your machine.

orestis18:06:42

My machine is from 2014 but generally everything still ticks along 😅

orestis11:06:54

This is in a comment form hence the italics, but the behaviour is the same outside.

orestis11:06:33

Tried again with 2.0.103 with similar results…

Jakub Holý (HolyJak)18:06:06

Hello! Is it Calva or something else that controls syntax highlighting? I would like to give a distinct color to keywords... Thank you! Also, I am getting "Extension host terminated unexpectedly." on latest VS Code. Anything I can do about it? 🙏

lambdam20:06:32

Hello, I'm trying calva on Codium and Jack In doesn't work with the following message:

zsh:1: command not found: lein
lein is in a custom directory which is included in the PATH in a declaration that is in my .zshrc. vscode seems to detect well the path of zsh (`/usr/bin/zsh` on linux) but on calva launch it seams to not load the ~/.zshrc file. Is it a known behaviour ?