From d3435676f7ad27739d6eb958460850c75915f673 Mon Sep 17 00:00:00 2001 From: Sandeep Nambiar Date: Fri, 24 May 2024 13:48:27 +0200 Subject: [PATCH] feat: add emacs directory locals to configure rust-analyzer (#109) .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. --- .dir-locals.el | 1 + 1 file changed, 1 insertion(+) create mode 100644 .dir-locals.el diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000..65b8a25 --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1 @@ +((lsp-mode . ((lsp-rust-analyzer-linked-projects . ["Cargo.toml", "{{project-name}}-ebpf/Cargo.toml"]))))