tree-sitter-langs
emacs-overlay
tree-sitter-langs | emacs-overlay | |
---|---|---|
8 | 34 | |
227 | 463 | |
2.2% | 1.9% | |
9.8 | 10.0 | |
5 days ago | 5 days ago | |
Emacs Lisp | Nix | |
MIT License | - |
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
-
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-overlay
-
Flakes aren't real and cannot hurt you: using Nix flakes the non-flake way
The project uses this overlay: https://github.com/nix-community/emacs-overlay
What that means is if something is broken in Emacs, the community will fix it, and all I need to do is run `nix flake update` to grab the latest commit and then `nix run .#build-switch` to alter my system. Easy.
Thanks for the heads-up on the 404s! I've fixed those links.
In re: to org-agenda, I don't use that as much anymore. But I heavily, heavily using org-roam w/ org-roam-dailies everyday to build my own networked graph of notes. For tasks, nowadays I just use simple docs for projects and Asana to keep a catalog of everything.
-
NixOS&(Home-Manager) Flake/Overlays Help
Im a newish NixOS user, Ive used it like 20 times before but always quit because I couldnt debug errors, trying not to give up for the 20th time this time lmao; so Ive been trying to learn how to use overlays & flakes for a couple of days now. The ones I want to use/enable are: - Emacs-Overlay - Spicetify-Nix
- My First Impressions of Nix
-
Which package manager should I use?
Nix offers the same advantage through the use of emacs-overlay. Besides, Nixpkgs contains more Linux packages than any other distros. Depending on the user's needs, Nix is another option.
-
It looks like the kellyk Emacs PPA is no longer maintained. Are there any alternatives?
You can use this overlay to get the latest https://github.com/nix-community/emacs-overlay
-
Will any emacs package manager let me audit packages before installing them?
Depending on your goals, emacs-overlay is also worth a look.
-
dired navigation without infinite buffers
{ pkgs ? import {} }: ((import (builtins.fetchTarball { url = "https://github.com/nix-community/emacs-overlay/archive/master.tar.gz"; })) pkgs pkgs).emacsGit
-
Installing Emacs 29 on Pop! OS
One option is to install Nix and use emacs-overlay.
-
How to use Emacs 29 Tree-sitter?
You can install Nix on your mac and use https://github.com/nix-community/emacs-overlay/, which supports all the existing tree-sitter-based major modes OOB.
-
Emacs 29 is nigh What can we expect?
Its great to see both eglot and tree-sitter being merged. However, I am unhappy about the state of 'emacs configurations/distributions' right now. I have been using Doom Emacs, but the development is pretty much stalled there [0], and I don't think there is any distribution that is keeping up with these cutting-edge features (compared to the NeoVim ecosystem, let's say). Somehow it feels like I was seeing a lot more activity about Emacs configurations two-three years ago.
> Compile EmacsLisp files ahead of time
Ooh, this is interesting. Hoping to see a derivation in https://github.com/nix-community/emacs-overlay soon.
[0] I am not complaining though as Doom was the main author's personal config from the get-go. I am just pointing out a void.
What are some alternatives?
tree-edit - 🌲 Structural editing in Emacs for any™ language!
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
tree-sitter-c-sharp - C# Grammar for tree-sitter
flake-utils - Pure Nix flake utility functions [maintainer=@zimbatm]
tree-sitter-module - Building script for tree-sitter language definitions
use-package - A use-package declaration for simplifying your .emacs
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
lsp-mode - Emacs client/library for the Language Server Protocol
elisp-tree-sitter - Emacs Lisp bindings for tree-sitter
chemacs2 - Emacs version switcher, improved
rjsx-mode - A JSX major mode for Emacs
nix - Nix, the purely functional package manager