Skip to content

Commit

Permalink
fix: emacs directory locals
Browse files Browse the repository at this point in the history
- Emacs vectors do not have "," separator.
- The .dir-locals.el list is checked against major mode names, but
  lsp-mode could be a minor mode. Use the generic prog-mode instead.
  • Loading branch information
l2dy authored and vadorovsky committed Jul 23, 2024
1 parent d343567 commit 79b73bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .dir-locals.el
Original file line number Diff line number Diff line change
@@ -1 +1 @@
((lsp-mode . ((lsp-rust-analyzer-linked-projects . ["Cargo.toml", "{{project-name}}-ebpf/Cargo.toml"]))))
((prog-mode . ((lsp-rust-analyzer-linked-projects . ["Cargo.toml" "{{project-name}}-ebpf/Cargo.toml"]))))

0 comments on commit 79b73bf

Please sign in to comment.