AutoYADM commit: 2025-06-19 18:45:14

This commit is contained in:
Daniel Fichtinger 2025-06-19 18:45:14 -04:00
parent e8b4144429
commit 5d6d0a5918

View file

@ -1,3 +1,17 @@
hook global BufCreate .+[.](mmd|mermaid) %{ hook global BufCreate .+[.](mmd|mermaid) %{
set-option buffer filetype mermaid set-option buffer filetype mermaid
} }
hook global WinSetOption filetype=mermaid %{
require-module mermaid
set-option window indentwidth 2
set-option window comment_line '%%'
}
provide-module mermaid %—
define-command -hidden mermaid-indent-on-new-line %~
# preserve prev line indent
try %{ execute-keys -draft <semicolon> K <a-&> }
~