From 4042fc2be2dfe40da10f9d69cc5a15cc23ab8962 Mon Sep 17 00:00:00 2001 From: vorboyvo Date: Sat, 20 Jul 2024 02:22:07 -0400 Subject: [PATCH] Added proselint for markdown. --- hosts/randolph/home.nix | 1 + programs/kakoune.nix | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/randolph/home.nix b/hosts/randolph/home.nix index a5a52e9..e380301 100644 --- a/hosts/randolph/home.nix +++ b/hosts/randolph/home.nix @@ -86,6 +86,7 @@ in { xdg-terminal-exec blueman upower + proselint # for prose lint ] ++ # Basic utilities [ bitwarden-cli htop snore hledger hledger-ui ] ++ # Personalized selection of command-line (CLI/TUI) apps diff --git a/programs/kakoune.nix b/programs/kakoune.nix index ab1b5e0..2ada975 100644 --- a/programs/kakoune.nix +++ b/programs/kakoune.nix @@ -18,9 +18,9 @@ } { # When the filetype=markdown option is set (automatically), set word wrap on - name = "BufSetOption"; + name = "WinSetOption"; option = "filetype=markdown"; - commands = "add-highlighter buffer wrap -word"; + commands = "set-option window lintcmd \"proselint\""; } ]; keyMappings = [