Skip to content

Commit

Permalink
feat: add emacs directory locals to configure rust-analyzer (#109)
Browse files Browse the repository at this point in the history
.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.
  • Loading branch information
gamedolphin authored May 24, 2024
1 parent a006355 commit d343567
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .dir-locals.el
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
((lsp-mode . ((lsp-rust-analyzer-linked-projects . ["Cargo.toml", "{{project-name}}-ebpf/Cargo.toml"]))))

0 comments on commit d343567

Please sign in to comment.