Merge remote-tracking branch 'schickm/html-highlighter-indent-bugfix'
This commit is contained in:
commit
fd00776012
|
@ -51,8 +51,7 @@ define-command -hidden html-indent-on-new-line %{
|
||||||
# filter previous line
|
# filter previous line
|
||||||
try %{ execute-keys -draft k : html-filter-around-selections <ret> }
|
try %{ execute-keys -draft k : html-filter-around-selections <ret> }
|
||||||
# indent after lines ending with opening tag
|
# indent after lines ending with opening tag
|
||||||
try %{ execute-keys -draft k <a-x> <a-k> <[^/][^>]+>$ <ret> j <a-gt> }
|
try %{ execute-keys -draft k <a-x> <a-k> <lt>(?!area)(?!base)(?!br)(?!col)(?!command)(?!embed)(?!hr)(?!img)(?!input)(?!keygen)(?!link)(?!menuitem)(?!meta)(?!param)(?!source)(?!track)(?!wbr)(?!/)(?!>)[a-zA-Z0-9_-]+[^>]*?>$ <ret> j <a-gt> } }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Initialization
|
# Initialization
|
||||||
|
|
Loading…
Reference in New Issue
Block a user