AutoYADM commit: 2025-06-19 18:55:14
This commit is contained in:
parent
b88e22eafa
commit
5b0f8ec6a0
1 changed files with 3 additions and 1 deletions
|
@ -17,8 +17,10 @@ hook global WinSetOption filetype=mermaid %{
|
|||
provide-module mermaid %—
|
||||
# TODO: regex highlighting (treesitter is overkill lol)
|
||||
define-command -hidden mermaid-indent-on-new-line %~
|
||||
# preserve prev line indent
|
||||
# preserve previous line indent
|
||||
try %{ execute-keys -draft <semicolon> K <a-&> }
|
||||
# remove trailing white spaces
|
||||
try %{ execute-keys -draft k x s \h+$ <ret> d }
|
||||
~
|
||||
|
||||
define-command -hidden mermaid-trim-indent %{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue