3 ms·
Using Nix and home-manager I'm able to have this setup with Emacs work across Linux and macOS (x86 and arm64) because it compiles the grammars from Nixpkgs itse
by siraben 5y ago
Using Nix and home-manager I'm able to have this setup with Emacs work across Linux and macOS (x86 and arm64) because it compiles the grammars from Nixpkgs itself (the grammar list can also be augmented declaratively with other grammars).
[0] https://github.com/siraben/dotfiles/blob/a0f49781ecb05693908f265d643d97f3cd0d4d95/home-manager/.config/nixpkgs/home.nix#L39 https://github.com/siraben/dotfiles/blob/a0f49781ecb05693908...
- josteink 5y agoThat’s a bit above my head, but if you could contribute with a “from scratch” ARM64 cross-build recipe for tree-sitter, in the official repo, that would be great!