tree-sitter-langs
Language bundle for Emacs's tree-sitter package (by emacs-tree-sitter)
.emacs.d
My personal Emacs config with any quirks, oddities, bugs, and man-eating errors I live with on a daily basis. (by jimeh)
tree-sitter-langs | .emacs.d | |
---|---|---|
8 | 26 | |
227 | 110 | |
2.2% | - | |
9.8 | 8.2 | |
5 days ago | 12 days ago | |
Emacs Lisp | Emacs Lisp | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tree-sitter-langs
Posts with mentions or reviews of tree-sitter-langs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-18.
-
tree-sitter doesn't highlight my *.ts Typescript files
I just had a quick look at tree-sitter-langs to double check its TypeScript support. And seems to have a full set of highlight queries for it.
-
Context-aware yasnippets (via tree-sitter)
I use script/compile swift from 'tree-sitter-langs' to build the grammar on both M1 and x86 machines. But I was looking at that code yesterday and I actually can't figure out why it works to produce an arm64 dylib for me. There's no place where the target arch is being set. It's very odd.
-
How to use Emacs 29 Tree-sitter?
However, there are no queries available for it to highlight csharp: https://github.com/emacs-tree-sitter/tree-sitter-langs/tree/388dcbbc237b2b1360e5b148e67b158eecede805/queries
-
Call for volunteers: add tree-sitter support to major modes
I've forked tree-sitter-langs with https://github.com/kiennq/tree-sitter-langs that can be used to convert from the current emacs-tree-sitter syntax to the built-in treesit's syntax. Based on https://github.com/emacs-tree-sitter/tree-sitter-langs/pull/99.
-
regarding feature/tree-sitter branch
Those grammars are collected in the tree-sitter-langs repo, or you can build them yourself. I assume they're not bundled with Emacs yet, even on the feature branch. I don't know how the Emacs tree-sitter branch expects them to be registered and associated with a language mode, though.
- Having trouble setting up tree-sitter
-
Do FreeBSD people use GNU/Emacs or anything GNU at all?
The "essentially" qualifier is just because of the tree-sitter issue I was mentioning earlier which is just that this 3rd party package does not ship binaries built for FreeBSD. Everything else has worked exactly the same as on Linux.
-
Does anyone have a good config for making expand-region play nicely with Elixir code?
Now I am speculating, but I think it would take less work to go through tree-sitter route. Seems that emacs tree-sitter repo already supports Elixir. And then we would need to write Elixir specific queries for combobulate, which supports incremental selection à la expand-region.
.emacs.d
Posts with mentions or reviews of .emacs.d.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-09.
-
If you like Straight, you should try Elpaca
The second one is a little bit more complicated. For a number of packages I kind of abuse use-package/straight to separate out setup of different files/modes contained within the same package into their own use-package statement. Good example of this is my setup for helm. ) For example, after the normal (use-package helm …) statement, I have the below which configures helm-files related stuff, which comes from helm-for-files.el within the helm package:
-
Tmux sessions-like package for Emacs?
siren-tab-bar.el
-
New package yank-indent automatically sets correct indentation on yanked/pasted text
If anyone is curious of the hacky solution I used to have in my config, here is the comment where I initially replaced it with an earlier version of yank-indent.
-
Doom -> vanilla emacs 29
I’d like to throw my personal vanilla config into the hat as a point of reference/starting point/inspiration: https://github.com/jimeh/.emacs.d
-
We’ve all been there, right? …right?
Oldest commit: Aug 27, 2011
-
Emacs bankruptcy
My config uses/has use-package, straight.el, lsp, company, magit, tree-sitter, doom-themes, doom-modeline, vertico, marginalia, consult, treemacs, undo-fu, GitHub Copilot, projectile, vterm, smartparens, yasnippet, diff-hl, and more.
-
How to use Emacs 29 Tree-sitter?
I did a similar thing with yaml-mode highlight queries in my config before the highlights were merged in. You can see the relevant commit in my config here: https://github.com/jimeh/.emacs.d/commit/ebbdab36fb2a3d635d591cc3179b8f4ed9a476d0
-
How Can I Start the Daunting Task of Making my Own Config?
I'm two months in (without any programming experience) and I've gone through various re-writes (from a literate .org init to a modular setup akin to Emacs Prelude or Siren configurations. (See: https://github.com/jimeh/.emacs.d)
- jimeh's personal Emacs config
- .emacs.d/siren-ruby.el at 06bf89af61413aaf610e7a293306c01e330f3302 · jimeh/.emacs.d · GitHub
What are some alternatives?
When comparing tree-sitter-langs and .emacs.d you can also consider the following projects:
tree-edit - 🌲 Structural editing in Emacs for any™ language!
projectile - Project Interaction Library for Emacs
tree-sitter-c-sharp - C# Grammar for tree-sitter
dogears.el - Never lose your place in Emacs again
tree-sitter-module - Building script for tree-sitter language definitions
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
diff-hl - Emacs package for highlighting uncommitted changes
elisp-tree-sitter - Emacs Lisp bindings for tree-sitter
gumshoe
rjsx-mode - A JSX major mode for Emacs
doom - Doom Emacs config
tree-sitter-langs vs tree-edit
.emacs.d vs projectile
tree-sitter-langs vs tree-sitter-c-sharp
.emacs.d vs dogears.el
tree-sitter-langs vs tree-sitter-module
.emacs.d vs tree-sitter-c-sharp
tree-sitter-langs vs doom-emacs
.emacs.d vs diff-hl
tree-sitter-langs vs elisp-tree-sitter
.emacs.d vs gumshoe
tree-sitter-langs vs rjsx-mode
.emacs.d vs doom