mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +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)")))
|
||||
(key-description-string (key-description (yas--template-keybinding p)))
|
||||
(template-key-padding (if (string= key-description-string "") nil ? )))
|
||||
(insert group " ")
|
||||
(insert condition-string " ")
|
||||
(insert name
|
||||
(if (string-match "\\.\\.\\.$" name)
|
||||
"'"
|
||||
" ")
|
||||
" ")
|
||||
(insert (truncate-string-to-width (or (yas--template-key p) "")
|
||||
(insert group " "
|
||||
condition-string " "
|
||||
name (if (string-match "\\.\\.\\.$" name)
|
||||
"'" " ")
|
||||
" "
|
||||
(truncate-string-to-width (or (yas--template-key p) "")
|
||||
15 0 template-key-padding "...")
|
||||
(if template-key-padding (byte-to-string template-key-padding) ""))
|
||||
(insert (truncate-string-to-width key-description-string
|
||||
15 0 nil "..."))
|
||||
(insert "\n"))))
|
||||
(or template-key-padding "")
|
||||
(truncate-string-to-width key-description-string
|
||||
15 0 nil "...")
|
||||
"\n"))))
|
||||
groups-hash)))
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user