home.social

#treesitter — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #treesitter, aggregated by home.social.

  1. I use #sqlx, and I wanted syntax highlighting for embedded #SQL queries in my #Rust code. Making that work in #Neovim led me to learning a few things about #Treesitter, and #NixOS packaging conventions. Here's my write-up!

    Public replies to this post will appear in a comments section under the blog post.

    sitr.us/2026/05/03/embedded-sq

  2. The Helix modal editor has built-in support for treesitter, but it only ships with some of the R queries: (syntax) highlight, injection, and locals. It does not have yet queries for text objects, tags, indentation or rainbow brackets. At least three of these are available elsewhere; I wonder how hard would it be to adapt those for Helix?

    #HelixEditor #RStats #treesitter

  3. @almalinux got to finally build #Emacs v30.2 for #AlmaLinux9 rather than removing broken feature by feature from config for v27.2 (released five years ago this month). Too used to #TreeSitter and #LSP for a functional editor nowadays. Would it be #ELRepo or #epel if you want it shared?

  4. Grep-AST или Как мы заменили векторный поиск всего одной библиотекой

    Всем привет! На связи София из команды применения больших языковых моделей ecom.tech . Сегодня хочу поделиться одной малоизвестной библиотекой, которую мы волей судьбы откопали на просторах github, попробовали использовать для поиска по нашей кодовой базе, и, о чудо! Это ощутимо помогло нам. Казалось бы, такой маленький шаг для человечества, но такой полезный для нашего проекта.

    habr.com/ru/companies/ecom_tec

    #grepast #ast #llm #rag #python #treesitter #reverse_engineering #llmмодели #embeddings #code_search

  5. Back when I was looking at switching command line editors, #MicroEditor had top notch mouse support, while #HelixEditor had first class #TreeSitter and #LanguageServerProtocol support (and I wanted both).

    My hunch was improving mouse support in hx was much more doable (correct, as that PR showed - but it never got accepted), and I've been using hx.

    Meanwhile LSP support doesn't seem to have improved much in Micro, sadly. eg LSP feature request github.com/micro-editor/micro/ opened in 2018 and closed in frustration in 2023, and discussion github.com/micro-editor/micro/ links to several since abandoned plugins, but also github.com/Andriamanitra/mlsp/

  6. Back when I was looking at switching command line editors, #MicroEditor had top notch mouse support, while #HelixEditor had first class #TreeSitter and #LanguageServerProtocol support (and I wanted both).

    My hunch was improving mouse support in hx was much more doable (correct, as that PR showed - but it never got accepted), and I've been using hx.

    Meanwhile LSP support doesn't seem to have improved much in Micro, sadly. eg LSP feature request github.com/micro-editor/micro/ opened in 2018 and closed in frustration in 2023, and discussion github.com/micro-editor/micro/ links to several since abandoned plugins, but also github.com/Andriamanitra/mlsp/

  7. Back when I was looking at switching command line editors, #MicroEditor had top notch mouse support, while #HelixEditor had first class #TreeSitter and #LanguageServerProtocol support (and I wanted both).

    My hunch was improving mouse support in hx was much more doable (correct, as that PR showed - but it never got accepted), and I've been using hx.

    Meanwhile LSP support doesn't seem to have improved much in Micro, sadly. eg LSP feature request github.com/micro-editor/micro/ opened in 2018 and closed in frustration in 2023, and discussion github.com/micro-editor/micro/ links to several since abandoned plugins, but also github.com/Andriamanitra/mlsp/

  8. Back when I was looking at switching command line editors, #MicroEditor had top notch mouse support, while #HelixEditor had first class #TreeSitter and #LanguageServerProtocol support (and I wanted both).

    My hunch was improving mouse support in hx was much more doable (correct, as that PR showed - but it never got accepted), and I've been using hx.

    Meanwhile LSP support doesn't seem to have improved much in Micro, sadly. eg LSP feature request github.com/micro-editor/micro/ opened in 2018 and closed in frustration in 2023, and discussion github.com/micro-editor/micro/ links to several since abandoned plugins, but also github.com/Andriamanitra/mlsp/

  9. Back when I was looking at switching command line editors, #MicroEditor had top notch mouse support, while #HelixEditor had first class #TreeSitter and #LanguageServerProtocol support (and I wanted both).

    My hunch was improving mouse support in hx was much more doable (correct, as that PR showed - but it never got accepted), and I've been using hx.

    Meanwhile LSP support doesn't seem to have improved much in Micro, sadly. eg LSP feature request github.com/micro-editor/micro/ opened in 2018 and closed in frustration in 2023, and discussion github.com/micro-editor/micro/ links to several since abandoned plugins, but also github.com/Andriamanitra/mlsp/

  10. Also from a "designer"-perspective, due to its simple tree structure editing #SXML with #paredit or #parinfer or #lispy or #treesitter any whatever structural editor you use is like playing with #legos

  11. 🚀 Behold! A dazzling spectacle of syntax highlighting that only a true tree-sitter enthusiast could love. 🤓 Dive into the riveting world of "Arborium," where #WASM and #cargo join forces to deliver the most thrilling experience since watching paint dry. 🌳✨ Prepare your mind to be mildly entertained by randomly selected themes, because who doesn't love a good #randomization in their syntax highlighting? 😂
    arborium.bearcove.eu/ #syntaxhighlighting #Arborium #treesitter #HackerNews #ngated

  12. 🚀 Behold! A dazzling spectacle of syntax highlighting that only a true tree-sitter enthusiast could love. 🤓 Dive into the riveting world of "Arborium," where #WASM and #cargo join forces to deliver the most thrilling experience since watching paint dry. 🌳✨ Prepare your mind to be mildly entertained by randomly selected themes, because who doesn't love a good #randomization in their syntax highlighting? 😂
    arborium.bearcove.eu/ #syntaxhighlighting #Arborium #treesitter #HackerNews #ngated

  13. 🚀 Behold! A dazzling spectacle of syntax highlighting that only a true tree-sitter enthusiast could love. 🤓 Dive into the riveting world of "Arborium," where #WASM and #cargo join forces to deliver the most thrilling experience since watching paint dry. 🌳✨ Prepare your mind to be mildly entertained by randomly selected themes, because who doesn't love a good #randomization in their syntax highlighting? 😂
    arborium.bearcove.eu/ #syntaxhighlighting #Arborium #treesitter #HackerNews #ngated

  14. 🚀 Behold! A dazzling spectacle of syntax highlighting that only a true tree-sitter enthusiast could love. 🤓 Dive into the riveting world of "Arborium," where #WASM and #cargo join forces to deliver the most thrilling experience since watching paint dry. 🌳✨ Prepare your mind to be mildly entertained by randomly selected themes, because who doesn't love a good #randomization in their syntax highlighting? 😂
    arborium.bearcove.eu/ #syntaxhighlighting #Arborium #treesitter #HackerNews #ngated

  15. Sinon hier j'ai fait un binding #treesitter depuis #pharo #smalltalk !
    Trop pratique pour analyser plein de language avec #moose. Je pense que je vais regarder pour faire un éditeur multi language en utilisant #treesitter et le #languageserverprotocol 🌟
    Pour tester :
    github.com/badetitou/Pharo-Tre

  16. Я сегодня потратил весь день на переписывание моего конфига для #Nvim (#NeoVim) с #VimScript на #Lua.

    https://codeberg.org/RaZZlom/dotfiles/src/branch/master/config/nvim

    В свзи с этим заменил все плагины на новые, добавил
    #TreeSitter и #LSP сервер.

    Можете смело сказать где сделано круто, а где я всё испортил.

  17. Thoughts on 3 months of #ObjectPascal #FreePascal usage (in #NeoVim):

    - Easy to pick up and read
    - Good libraries
    - Generics
    - No closures
    - Binaries aren't small
    - LSP (pasls) isn't complete, but better than nothing; #Treesitter + #Periscope really help
    - Docs are frustrating
    - Good forums/community
    - Targets SO MANY platforms (#HaikuOS, 32-bit #DOS, #Amiga, #Z80, #baremetal)! More than Rust, Go
    - A *lot* of historic books and projects

    Would I use #Pascal again? Absolutely yes, without doubt.

  18. Check out the first in what we hope will be our regular updates on the Pulsar Blog!
    This will hopefully give you some insight as to what we have been up to in the background and what you can expect expect to see in the near future.
    In this update we have info on tree-sitter upgrades, a new donation platform, backend improvements and an upcoming Matrix space.

    pulsar-edit.dev/blog/20230201-

  19. @vincentxavier @JustineSmithies je confirme, c’est inutile donc indispensable. C’est basé sur #treesitter, donc au sommet de la hype techniquement. Et il y a même un mode « game of life » pour le nerd factor, c’est totalement hypnotique.

    Cela dit, comment parler de #CellularAutomaton sans mentionner #duck.nvim ? Peut-on encore utiliser #Neovim sans ce greffon ? J’en doute.

    github.com/tamton-aquib/duck.n