Skip to content

Commit 9e5219a

Browse files
reegnzlpil
authored andcommitted
Allow VISUAL selection in Code snippets
1 parent 75309fc commit 9e5219a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

UltiSnips/markdown.snippets

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,12 @@ snippet img "Image"
112112
endsnippet
113113

114114
snippet ilc "Inline Code" i
115-
\`$1\`$0
115+
\`${1:${VISUAL}}\`$0
116116
endsnippet
117117

118118
snippet cbl "Codeblock" b
119-
\`\`\`
120-
$1
119+
\`\`\`$1
120+
${2:${VISUAL}}
121121
\`\`\`
122122
$0
123123
endsnippet

0 commit comments

Comments
 (0)