vim

Dumch 2023-07-12T18:32:25.200719Z

One more question about themes. I just found out that the functions have wrong collors (tried several themes with lsp/treesitter support like tokyonight, nighfox, kanagawa). Here, for example, the "vector" function is passed an argument and is still highlighted as a function. It's not true for my own function, "myf". Do you know if it's possible to fix?

2023-07-12T18:46:29.843339Z

are you sure it's highlighting functions and not built-ins? what does (myf abc) render as?

Dumch 2023-07-12T18:47:29.849269Z

2023-07-12T18:47:50.463429Z

there you go, it's rendering vector as a built-in identifier, not as a "function"

2023-07-12T18:48:32.778499Z

so even if you had (let [vector [1 2 3]] (prn vector)), it's gonna make vector that bold red color in the let block and the prn call

Dumch 2023-07-12T18:50:16.286939Z

So every function* that could be used without require is highlighted this way

Dumch 2023-07-12T18:53:28.288359Z

Now it makes sense, thank you!

2023-07-12T18:54:07.861869Z

glad to help!