Andrew Tropin · @abcdw
751 followers · 1410 posts · Server fosstodon.org

Update on tree-sitter structure navigation in emacs mailing list:

lists.gnu.org/archive/html/ema

#treesitter #emacs

Last updated 1 year ago

C. Joly :neovim: :ferris: ⌨️ · @cjoly
119 followers · 81 posts · Server fosstodon.org

Want to use for context aware snippets in ?
Check out my new blog post: cj.rs/blog/luasnip-and-treesit

Feedback welcome, feel free to comment by answering this post!

#treesitter #neovim

Last updated 1 year ago

Paco Velobs · @PacoVelobs
207 followers · 4568 posts · Server mamot.fr

@Toxic_Flange I use as the plugin manager and am very fond of it.
Now, onto the plugins: of course, for completion with for snippets, and for easy-as-hell-config®.
There are also color schemes, I personnaly use and love .
You can have a look at what I use here if you want: gitlab.com/pcoves/nvim/-/blob/
Be sure not to copy paste as my setup might not feet your needs.

#lazy #treesitter #nvimcmp #luasnip #lspconfig #mason #kanagawa

Last updated 1 year ago

Jacky needs you to act. Now. · @jalcine
3648 followers · 3246 posts · Server todon.eu

in has changed the fucking game for me. it makes using intellij products feel so slow tbh

#treesitter #neovim

Last updated 1 year ago

scmbradley · @Scmbradley
381 followers · 476 posts · Server mathstodon.xyz

Setting up and on gotchas so far: make sure your c compiler is on your emacs exec-path.

If, like me, you're restricted to running python 2.7 (don't ask) then your language server options are limited to python-language-server and pyls (the deprecated palantir offering). That's right folks, a software choice where Microsoft appear to be the good guys?

#windows #treesitter #eglot

Last updated 1 year ago

mnl mnl mnl mnl mnl · @mnl
785 followers · 658 posts · Server hachyderm.io

I am thinking that the proper way to build these queries requires scripting and a proper programming language, but I do want to keep it simple to write these ad-hoc.

Do you folks have suggestions of what I could use? One thing I don't want to do is have people recompile oak when they add a new command, but I also want to make it easy to iterate on the script, so, being able to use say a JS-ide to create the command.

#treesitter #devtools

Last updated 1 year ago

Dan Poulin · @epocsquadron
1 followers · 21 posts · Server fosstodon.org

, , , and are all very similar template languages. has support for twig, but not the others, so I set the language manually to get the others. I did a little digging and there is a grammar for liquid and jinja2, but not tera. It seems to me like there should be a standard set up with a common grammar that can be extended by each so they aren't starting from scratch. Also shouldn't there be a common standard to those templating engines altogether?

#tera #jinja2 #twig #liquid #HelixEditor #treesitter

Last updated 1 year ago

Einenlum · @einenlum
55 followers · 227 posts · Server fosstodon.org

Does someone know a good introduction to colorschemes with support?

#neovim #treesitter

Last updated 1 year ago

regexplainer, the plugin which tells you what your is doing, now has long-awaited support for lookbehind assertions, thanks to the fixes in the upstream parser

Give'r a shot and let me know what you think

github.com/bennypowers/nvim-re

#nvim #regex #treesitter

Last updated 1 year ago

Erik L. Arneson :emacs: · @pymander
223 followers · 487 posts · Server fosstodon.org

I wrote a guide on setting up 29.1 for development, because the process wasn't as straightforward as I'd hoped.

arnesonium.com/2023/08/configu

#emacs #golang #programming #go #treesitter

Last updated 1 year ago

Paul Evans · @leonerd
315 followers · 609 posts · Server fosstodon.org


Adding code-folding support to my highlight example script. Here it is drawing fold regions while highlighting its own source code

#todayiachieved #treesitter #perl

Last updated 1 year ago

~ashwinvis · @ashwinvis
483 followers · 283 posts · Server mastodon.acc.sunet.se

If someone tried could be employed to create source-to-source with Treesitter parsed trees behaving like intermediate representations. :blobcat3c:

But then again, someone will go ask ChatGPT instead to rewrite the code from X to Y and all such engineering efforts would go to the drain. :blobcatpout:

#compilers #treesitter

Last updated 1 year ago

yugaego 🌻 · @yugaego
22 followers · 125 posts · Server fosstodon.org
Samuel Chase · @samebchase
307 followers · 327 posts · Server fantastic.earth

@snonux Yes, we need a grammar for . That would open up a lot more possibilities.

Unfortunately, Raku's grammar is complicated, so translating that into a TreeSitter grammar would be an involved effort.

In a way, it's good that we have a readable grammar to refer to, at least.

#treesitter #rakulang

Last updated 1 year ago

Paul Buetow · @snonux
72 followers · 490 posts · Server fosstodon.org

Coming from Nvi to Vim to NeoVim, I really like the editor now. Go and Bash and Ruby and Perl programming works great. Puppet and Raku and notes taking (spell checking) need some more tweaking, still. I wonder how difficult it would be to write my own grammar for and , so I get syntax highlighting in Helix? Probably the best way is to try it out...

#helix #treesitter #rakulang #puppet

Last updated 1 year ago

mnl mnl mnl mnl mnl · @mnl
671 followers · 432 posts · Server hachyderm.io

metamega useful. GO GO GO GO GOLEMS.

#LLMs #chatgpt #gogogolems #treesitter

Last updated 1 year ago

Ringed City Mayor · @hq1
162 followers · 2189 posts · Server fosstodon.org

Very annoyed now that doesn't highlight conflict markers properly. I have the diff parser installed but that doesn't do it.

#treesitter #neovim

Last updated 1 year ago

nnungest · @nnungest
45 followers · 395 posts · Server fosstodon.org

Anyone aware of an open source tool that can take and generate dependency and component diagrams from it?

System notes in case it matters: I'm using and in on 28 on MacOS Ventura

#typescript #treesitter #lsp #doomemacs #emacs

Last updated 1 year ago

Ramkumar Ramachandra · @artagnon
76 followers · 61 posts · Server mathstodon.xyz
Ringed City Mayor · @hq1
159 followers · 2145 posts · Server fosstodon.org

whoa, TIL if you :set spell in it'll only apply spell checker on comments and strings in source code. FTW!

#neovim #treesitter

Last updated 1 year ago