From fd67f6c079dce996a8331eb0b67b72b5896dbd62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Tue, 2 Apr 2024 17:05:17 +0200 Subject: [PATCH] feat(nvim): Enable bacon plugin --- home/default.nix | 11 ++++++++++- nvim/plugins.nix | 4 ++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/home/default.nix b/home/default.nix index ea0789a..43dd1aa 100644 --- a/home/default.nix +++ b/home/default.nix @@ -153,7 +153,16 @@ in (lib.mkIf (cfg.enable && devcfg.enable && devcfg.rust.enable) { home.packages = [ pkgs.rustup ] ++ devcfg.rust.extraPackages; # Background code checker (for Rust) - programs.bacon.enable = true; + programs.bacon = { + enable = true; + settings = { + export = { + enabled = true; + path = ".bacon-locations"; + line_format = "{kind} {path}:{line}:{column} {message}"; + }; + }; + }; }) ]; } diff --git a/nvim/plugins.nix b/nvim/plugins.nix index 6c4399d..ee8f687 100644 --- a/nvim/plugins.nix +++ b/nvim/plugins.nix @@ -1,4 +1,8 @@ { lib }: { + bacon = { + enable = true; + settings.quickfix.enabled = true; + }; cmp = { enable = true; cmdline = {