Added proselint for markdown.

This commit is contained in:
vorboyvo 2024-07-20 02:22:07 -04:00
parent a18e52bed6
commit 4042fc2be2
2 changed files with 3 additions and 2 deletions

View file

@ -86,6 +86,7 @@ in {
xdg-terminal-exec xdg-terminal-exec
blueman blueman
upower upower
proselint # for prose lint
] ++ # Basic utilities ] ++ # Basic utilities
[ bitwarden-cli htop snore hledger hledger-ui ] [ bitwarden-cli htop snore hledger hledger-ui ]
++ # Personalized selection of command-line (CLI/TUI) apps ++ # Personalized selection of command-line (CLI/TUI) apps

View file

@ -18,9 +18,9 @@
} }
{ {
# When the filetype=markdown option is set (automatically), set word wrap on # When the filetype=markdown option is set (automatically), set word wrap on
name = "BufSetOption"; name = "WinSetOption";
option = "filetype=markdown"; option = "filetype=markdown";
commands = "add-highlighter buffer wrap -word"; commands = "set-option window lintcmd \"proselint\"";
} }
]; ];
keyMappings = [ keyMappings = [