summaryrefslogtreecommitdiffstats
path: root/.config/nvim/my_snippets/all.snippets
blob: 338d1d713754e7ba7ea73991b7f133987796095b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# vim:ft=snippets:

global !p
from vimsnippets import get_comment_format
endglobal

snippet fancybox "Box"
`!p snip.rv = '┌' + '─' * (len(t[1]) + 2) + '┐'`
│ $1 │
`!p snip.rv = '└' + '─' * (len(t[1]) + 2) + '┘'`
$0
endsnippet

snippet todo "TODO comment" bw
`!p snip.rv=get_comment_format()[0]` TODO: $0 <`!v strftime('%d-%m-%y')`, yigit> `!p snip.rv=get_comment_format()[2]`
endsnippet