Fork me on GitHub
#conjure
<
2022-04-24
>
heefoo07:04:49

Hi, i am having my first steps with common lisp, but i am strugling using conjure. I followed the quickstart guide with roswell. The problem i have is this: running (in-package my-package) does not seem to change the package in the buffer. Is this because my lack of knowldege in cl ?

Olical10:04:02

And if you use the develop the develop branch? There's an open issue about this and I tried to address it recently but I'm not sure if it's okay now.

heefoo10:04:57

ah thanks, i will try

heefoo10:04:27

@U38J3881W the issue persists

heefoo10:04:26

@U38J3881W for somereson deleting conjure and reainstalling it changed things a little bit

heefoo10:04:57

now i am getting an error instead

Olical13:04:03

Hmm I've never seen that and can't reproduce it... how're you starting your REPL and what are you evaluating? Is this your issue? https://github.com/Olical/conjure/issues/340 I'm wondering if maybe you're starting the REPL differently and it's using some other library that I'm not aware of. I know very very little about Common Lisp, so far 99% of the work on support for CL is through contributions from people that understand it.

Olical13:04:48

I'm still maintaining the platform, but support for some languages will have to come from people with deep knowledge of it, I won't be able to do it justice right now because there's a bunch of Clojure things I need to work on for Clojurists Together

heefoo13:04:47

@U38J3881W understood. I start the repl via ros_swank script as per the "quistart" yoy provided Unfortunately, i am a sbcl newbi myself, start started a couple of days ago.

Olical14:04:13

Hmm I'll take a look in a sec and see what I can see, but from my limited experience I can eval files just fine.

Olical14:04:25

I'll try to repro!

heefoo14:04:49

maybe if the vim versoin ?

Olical14:04:59

Hmmm maybe? I'm on 0.7

Olical16:04:45

I think I've fixed the eval errors! Was to do with nvim tree sitter API changes. Not sure if it'll help with the underlying common lisp issues but maybe since it's working for me now!

Olical16:04:07

Cl support is still very minimal, but I encourage CL experts to help me with deeper integration ☺️

GitHub14:04:36

πŸ‘ 1
Dumch15:04:13

Just updated to latest conjure and aniseed, and have this issue: only visual selection get evaluated

Olical15:04:43

If you run :TSUpdate, does that help?

Dumch15:04:43

I will check now. Just found, that clojure (+ 1 1) doesnt work either, and here is the first commit on which clojure (+1 1 ) breaks https://github.com/Olical/conjure/commit/560e0c7f94cf19cc2f47f6be2f0ef502f7f78492

Olical15:04:21

And did you restart after that? Also which nvim version are you on? You can set let g:conjure#extract#tree_sitter#enabled = v:false to skip the treesitter stuff

Olical15:04:40

I suspect it's to do with breaking changes from nvim 0.6 -> 0.7 and I'm struggling to support all of the breaking changes through time.

Dumch15:04:47

0.7, yes, I restart after each aciton

Olical15:04:26

Hmm, working absolutely fine for me. And if you disable the tree-sitter stuff?

Dumch15:04:51

doesn't work without treesitter

Olical15:04:25

:thinking_face:

Dumch15:04:50

Treesitter is turned off and conjure commit commented (+ restart, PackerSync, restart)

Dumch15:04:06

I can be sure that tresitter is turned off by the syntax hightlighting

Dumch15:04:35

And I checked code on this commit β€” dont' see what could do this

Olical15:04:59

Actually, I can reproduce it!

Dumch15:04:09

that's great!

Olical15:04:58

If I :TSUninstall fennel and restart I can eval fine. It seems to be forms at the top level of the document with ts

Dumch15:04:45

you mean it doesn't know your module stuff?

Olical15:04:47

Yep, definitely tree sitter

Olical15:04:49

Okay debugging

Olical15:04:10

It doesn't know how to identify any forms now, and I think that can only be from neovim changing their API again since the code is the same and it used to work, but I'm not sure.

Olical15:04:12

Digging now

πŸ‘ 1
Olical15:04:31

I think it's because I followed the advice in the neovim release notes to use vim.treesitter.query.get_node_text and I think it's returning a different result when compared to the previous function of the same name in another module.

Olical15:04:51

That function now returns a string, not a list of strings

Olical16:04:39

Hopefully all fixed!

πŸŽ‰ 2
Dumch16:04:41

confirm, clj and fnl work

GitHub16:04:48

πŸ‘ 1