Fork me on GitHub
#conjure
<
2021-05-26
>
dharrigan15:05:42

Does anyone use treesitter with neovim nightly?

dharrigan15:05:42

Any benefits?

emilaasa15:05:07

Mostly good in non sexpy languages

dharrigan15:05:26

you're not using it with clojure?

emilaasa15:05:24

Not until @U38J3881W makes some epic treesitter features - atleast I don't think so?d

dharrigan15:05:32

kk. will wait.

emilaasa15:05:41

I mean what would we use it for?

emilaasa15:05:46

Semantic syntax hl maybe?

dharrigan15:05:57

no idea, just browsing around 🙂

emilaasa16:05:11

Seems like it will really help tho for people making tools

Olical16:05:14

There's experimental form selection for evals in master already

Olical16:05:26

But I'd like to build a structural editing plugin with it one day

Olical16:05:30

A la, vim sexp

Olical16:05:34

But for any lang

emilaasa16:05:07

something like that is good

emilaasa16:05:46

But sexpressions works really well in clojure so 🙂

Olical16:05:52

Once it's mainstream I'll promote it as the default for form selection, so ee/er etc will use it to select forms, making my code 100x simpler and hopefully faster. I can also do better smart comment evals etc then and support more languages like python / js

emilaasa16:05:25

I heard 15 june next suggested release date for 0.5

emilaasa16:05:27

we'll see 😄

Olical16:05:40

Haha, I'll keep building it in nixos from git for now

Olical16:05:44

But exciting!

emilaasa16:05:21

I did use some plugin that depended on it @U11EL3P9U but I cant remember now 🙂

mamapitufo16:05:52

I just managed to build 0.5 on void linux, mostly out of curiosity... is there some killer feature to try first?

nbardiuk16:05:12

there are several plugins that are only for 0.5 like nvim-lspconfig nvim-compe telescope.nvim, but I would not call them killer features, just new alternatives

dharrigan18:05:48

telescope looks interesting

dave18:05:29

I made a brief attempt a week or so ago at trying nvim-lspconfig and nvim-compe. I found that it basically works, but it's bare bones. I'm used to the awesome experience that coc provides. It appears that if you want to continue having that same awesome experience using these new tools based on Neovim's built in LSP, you have to build it all yourself from scratch. Once I had that thought, I gave up and went back to coc.

dave18:05:16

By "build it all yourself from scratch," I really mean finding plugins that do all of the individual things that you like about coc, and configuring them to work the way you like, etc. Which, in itself, felt like a lot of work when I was looking at it.

emilaasa07:05:10

I think telescope.nvim looks really good

dharrigan07:05:05

I think so too, but I also (presently) use vim-clap with fzf and that works very well

dharrigan07:05:19

I would have to experriment with telescope, but shrug inertia.....

emilaasa07:05:35

Yeah that looks good too, I use fzf.vim atm which also is good enough

emilaasa07:05:48

Have to get some actual work in between the vim config tweaks too 😛

Eugene Tyurin23:05:12

what do people use to reformat a region or a buffer?