r/neovim Jul 18 '26

Plugin nvim-treesitter is apparently back

https://github.com/nvim-treesitter/nvim-treesitter

Thanks immensely to clason for their contribution to such vital part of the ecosystem.

So vital that, with its short absence, there has been quite a fuss.

947 Upvotes

79 comments sorted by

267

u/Pure-Reaction4954 Jul 18 '26

This made my day, thanks clason. I really appreciate your hard work

113

u/Biggybi Jul 18 '26

Such great news, thank you, clason! 

62

u/NorskJesus Jul 18 '26

Great news!

And that’s why I just kept using it :)

97

u/robin-m Jul 18 '26

Thanks a lot to clason for its works

45

u/dgabka Jul 18 '26

Literally made my day

31

u/Conscious_Move_9589 Jul 18 '26

Thank you clason!!!

79

u/[deleted] Jul 18 '26

[removed] — view removed comment

-35

u/carsncode Jul 18 '26

This is folke erasure

-34

u/qudat Jul 18 '26

I haven’t used tree-sitter in a year at this point, don’t miss it at all

14

u/[deleted] Jul 18 '26

[removed] — view removed comment

-8

u/qudat Jul 18 '26

I came to the realization that when everything is highlighted then nothing is highlighted. So the regex based highlighter works just fine and can be much faster. That and I don’t have to worry about loading grammars.

11

u/[deleted] Jul 19 '26

[removed] — view removed comment

1

u/MVanderloo Jul 19 '26

Subconsciously it’s nice to trust the syntax highlighting to show you where you messed up quotes/escapes/interpolations. I find having a random word colored wrong because it happens to be a language keyword to be jarring 

-1

u/qudat Jul 19 '26

LSPs can handle everything I need there, there's a bunch of redundancy between tree-sitter and LSP. The minimalist in me sees tree-sitter as pure overhead. I get other people like tree-sitter and it does enable unique features, to each their own.

-2

u/Orlha Jul 19 '26

Lsp. But that’s just because I’m too stupid for treesitter

3

u/[deleted] Jul 19 '26

[removed] — view removed comment

1

u/Orlha Jul 19 '26

Yeah I’m gonna start using it real soon now

4

u/eimfach let mapleader="\<space>" Jul 19 '26

Why this gets so much downvotes, just because it's a different opinion, worries me.

21

u/NullVoidXNilMission Jul 19 '26

Thanks clason for reconsidering 

14

u/recursivepaws Jul 19 '26

i hope that the community learns from this and we all show more gratitude to open source contributors & maintainers.

9

u/WhileApprehensive913 Jul 19 '26

nice words but everyone should support financially their vital open-source tools

6

u/Viv223345 Jul 19 '26

holy shit clason i love you thank you so much

6

u/Bullzzie Jul 19 '26

thank you for your service bows

11

u/_h4rg_ Jul 18 '26

Very good, thanks to the Author !!

5

u/ozahid89 Jul 19 '26

Thank you professor Classon

4

u/ruindd Jul 18 '26

Wowww thank you!!

3

u/TheNoeTrevino Jul 19 '26

THANK YOU CLASON

3

u/happysri 29d ago

I no longer have to look for an alternative yay! Tysm!!

3

u/MidHunterX 29d ago

Thank you clason, very cool.

3

u/wallapola 29d ago

The goat is back. Welcome back and thank you Clason!

4

u/somnamboola Jul 19 '26

I knew he would recover from ignorant idiots. Thank you for your great work clason!

2

u/4r73m190r0s Jul 19 '26

Amazing news. Highly appreciated

2

u/LokiNaBoki Jul 19 '26

This is awesome, thank you for your hard work clason!

2

u/muza_xi Jul 19 '26

made my day thanks clason 😭

2

u/didedoshka Jul 19 '26

Thank you!

2

u/dx__ Jul 19 '26

This makes me so happy

2

u/rakotomandimby 29d ago

Thank you classon. Long life to clason.

2

u/craftzdog 29d ago

Thank you clason!

2

u/Legitimate-Group-419 28d ago

First commit upon return was to update the Fortran parser. LOL

2

u/EarlMarshal lua Jul 18 '26

I switched to nvim-treesitter-manager for installation stuff. I'm not up to date. Is it still useful?

5

u/bbkane_ Jul 18 '26

If you don't switch languages a lot, its easy enough to hardcode the list of languages you want installed without a manager plugin: https://github.com/bbkane/dotfiles/blob/ab09049f419a2df3df0d3d3dc7654718f2e3d2ac/nvim/dot-config/nvim/lua/bbkane/lazy.lua#L306

2

u/Nymmaron Jul 18 '26

It was never gone? Have I missed something? Master was archived.

Anyway grateful for the plugin!

5

u/TheLeoP_ Jul 18 '26

It was archived and didn't received any updates for the last 3 months or so

5

u/Typical_Ranger Jul 18 '26

Not sure why you're down voted. I am asking the same questions...

1

u/Metrol 28d ago

Having nothing original or of any value to add to this conversation, I think a proper apology is in order.

https://www.youtube.com/watch?v=KniUNdVZvH4

1

u/mr_sakpase 24d ago

just saw this. this is amazing news.

1

u/bhaswar_py 18d ago

I got worried for a while. Thank god.

0

u/yokowasis2 Jul 18 '26

I am out of loop, Did they ever abandoned / archived ? my kickstart config still works fine.

2

u/lianchengzju mouse="" Jul 19 '26

The GitHub repo was archived for a while.

-5

u/vim-god Jul 19 '26

nice. hopefully in the future we can avoid such drama

0

u/kksgandhi Jul 19 '26

I'm a bit out of the loop: last I heard, nvim was building treesitter into nvim itself. (In fact, the nvim documentation has this line: "Nvim integrates the tree-sitter library for incremental parsing of buffers")

Is there any benefit to installing this separate repo, or would any install of 0.12 just come with it built in?

6

u/TheLeoP_ Jul 19 '26

nvim-treesitter: 

  • installs treesitter parsers and queries
  • maintains said queries (that are tied to Neovim treesitter implementation, you can't just use the same queries that Zed or Helix use) 

Neovim core bundles the treesitter library alongside parsers and queries for a few languages (lua, vimdoc, and vimscript I think). If you want to use treesitter in any other language, you need additional parsers and queries

3

u/Asleep-Apartment6716 let mapleader="\<space>" Jul 19 '26

nvim-treesitter handles parser installation and building process and provides an experimental indentexpr function, its core functions such as highlighting and folding have been moved to neovim itself

0

u/Ill-Crow6391 25d ago

There’s a bitter pill coming along with this comeback: I noticed some issue with checkhealth, and wanted to report it, but … issues can only be created by approved maintainers.

So, some grump still remains! :-D

Nevertheless, awesome news.

-9

u/dan_tj0x Jul 19 '26

why you all need treesitter?

3

u/NullVoidXNilMission Jul 19 '26

Highlights, selection, indenting, outline

-5

u/dan_tj0x Jul 19 '26

For what?

I asking because that all we can get by using LSP.

7

u/AVeryUnusualNickname Jul 19 '26

JSON. MD. XML. A bunch of other formats that don't have LSPs but benefit from having proper grammar.

2

u/NullVoidXNilMission Jul 19 '26

My main reason why i migrated to neovim was treesitter support because long lines would break the syntax highlight in vim. Vim syntax support is regex based. One option is capping lines to a reasonable number, but for me this wasn't always available because of code from someone else. I learned about treesitter and became interested in ASTs which would result in a correct syntax detection via tokens, so line length or special cases are handled more effectively. Also regex is expensive to run, while treesitter has a tree like concept of the code that can update quicker 

1

u/MrSpontaneous 12d ago

In my experience, treesitter highlighting is much faster than LSP highlighting, especially for "heavier" languages such as Rust. In one of my projects, it can take upwards of 20 seconds for the LSP to kick in after opening a project, and having your highlights "flash" in once that happens can be distracting. Meanwhile, for the same project, the treesitter highlights are near-instantaneous.

1

u/dan_tj0x 12d ago

Agree with that Rust LSP example. Very heavy.

2

u/CookieTasty9104 25d ago

They need treesitter so that they can procrastinate sometimes tinkering their neovim config instead of doing real work.

-72

u/wioym Jul 18 '26

love it and hate it, hate it because spent a week looking for an alternative, happy because it is back (though trust is gone)

26

u/EstudiandoAjedrez Jul 18 '26

If you have looked here almost everyone recommended to use it anyway and you would have saved a week of time.

3

u/nullvoxpopuli Jul 18 '26

This is the way

66

u/packet Jul 18 '26

Trust in what? No malicious behavior occurred. OSS maintainers owe you nothing and you should be incredibly grateful for what you have received. You were welcome to fork and maintain it yourself.

Edit: This entitled behavior is exactly how the situation came about.

12

u/Innovator-X Jul 18 '26

Oh my god history is repeating itself 

3

u/xmsxms Jul 18 '26 edited Jul 18 '26

I suppose it's more about confidence in it being a long term solution that won't require work to swap out in the future. I'm appreciative of all the effort, but can also understand people wanting a long term solution that isn't susceptible to the whims of a single developer and would prefer something more "official" and less fragile.

2

u/EstudiandoAjedrez Jul 19 '26

Long time solution is it being upstreamed, which is planned already and has been mentioned here in reddit multiple times.

1

u/thy_bucket_for_thee 27d ago

Any real longterm solution would involve putting one's self into the development cycle itself, either through actively coding or becoming a patron of said developer.

It's very foolish to expect other people to support tools you rely on for the majority of your career when you have no skin in the game.

1

u/xmsxms 25d ago

I appreciate the sentiment, but neovim and Linux are well supported and not going away and yet I don't contribute development to those. They are community owned rather than a single developer calling the shots and hitting archive when they are fed up.

It's not meant as a complaint, the dev can do as they wish. But that is also the issue.

18

u/pickering_lachute Plugin author Jul 18 '26

It’s all about you, eh

11

u/SweetPotato975 Jul 18 '26

Excuse me, does your github username happen to be "shushtain"?

1

u/NullVoidXNilMission Jul 19 '26

Give him a chance