mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
yasnippet.el (yas--describe-pretty-table): Cleanup.
This commit is contained in:
parent
ea5ed74fb2
commit
115f5ffff0
22
yasnippet.el
22
yasnippet.el
@ -2731,19 +2731,17 @@ and `kill-buffer' instead."
|
|||||||
"(a)")))
|
"(a)")))
|
||||||
(key-description-string (key-description (yas--template-keybinding p)))
|
(key-description-string (key-description (yas--template-keybinding p)))
|
||||||
(template-key-padding (if (string= key-description-string "") nil ? )))
|
(template-key-padding (if (string= key-description-string "") nil ? )))
|
||||||
(insert group " ")
|
(insert group " "
|
||||||
(insert condition-string " ")
|
condition-string " "
|
||||||
(insert name
|
name (if (string-match "\\.\\.\\.$" name)
|
||||||
(if (string-match "\\.\\.\\.$" name)
|
"'" " ")
|
||||||
"'"
|
" "
|
||||||
" ")
|
(truncate-string-to-width (or (yas--template-key p) "")
|
||||||
" ")
|
|
||||||
(insert (truncate-string-to-width (or (yas--template-key p) "")
|
|
||||||
15 0 template-key-padding "...")
|
15 0 template-key-padding "...")
|
||||||
(if template-key-padding (byte-to-string template-key-padding) ""))
|
(or template-key-padding "")
|
||||||
(insert (truncate-string-to-width key-description-string
|
(truncate-string-to-width key-description-string
|
||||||
15 0 nil "..."))
|
15 0 nil "...")
|
||||||
(insert "\n"))))
|
"\n"))))
|
||||||
groups-hash)))
|
groups-hash)))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user