From 6cebe475fdd7f1e226e37ce0eaa21e729266b496 Mon Sep 17 00:00:00 2001 From: Gregor Grigorjan Date: Sun, 19 May 2024 02:49:40 +0300 Subject: [PATCH] tweak(emacs): Rust: enable experimental `rust-analyzer` features Gives on-type responsiveness to some LSP features. --- modules/nixos/programs/emacs/init.el | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/nixos/programs/emacs/init.el b/modules/nixos/programs/emacs/init.el index f365e4d..726c5bb 100644 --- a/modules/nixos/programs/emacs/init.el +++ b/modules/nixos/programs/emacs/init.el @@ -771,6 +771,7 @@ (lsp-rust-analyzer-lens-references-trait-enable t) (lsp-rust-analyzer-lens-references-enum-variant-enable t) (lsp-rust-analyzer-max-inlay-hint-length 15) + (lsp-rust-analyzer-diagnostics-enable-experimental t) (lsp-rust-clippy-preference "on")) (use-package markdown-mode