Klimi's new dotfiles with stow.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# -*- mode: snippet -*-
|
|
# contributor: sh-ow <sh-ow@users.noreply.github.com>
|
|
# name: commentline
|
|
# key: col
|
|
# --
|
|
`(yas-trimmed-comment-start)` ${1:comment} ${1:$(let* ((start (yas-trimmed-comment-start))
|
|
(lastcom (aref start (1- (length start))))
|
|
(end (yas-trimmed-comment-end))
|
|
(endpadlen (- 79 (+ (current-column) (length end)))))
|
|
(concat (make-string (max endpadlen 0) lastcom)
|
|
end))}$0
|