aya-rs / aya-template

A cargo-generate template for Rust eBPF Projects using Aya
81 stars 41 forks source link

feat: add emacs directory locals to configure rust-analyzer #109

Closed gamedolphin closed 5 months ago

gamedolphin commented 5 months ago

.dir-locals.el is the emacs equivalent of .vim directory in the project here.

This PR adds a simple configuration to map the same rust-analyzer configuration variable as the vim version to make use of new aya projects seamless with emacs projects that use emacs-lsp + rust analyzer.