Skip to content

Commit

Permalink
Change line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
aalvarado committed May 4, 2018
1 parent a8461fc commit 44a5419
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 45 deletions.
50 changes: 25 additions & 25 deletions all.snippets
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
snippet snip "snippet" b
`!p snip.rv = "snippet"` ${1} "${2}"${3}
${4}
`!p snip.rv = "endsnippet"`${5}
endsnippet

snippet ( "parens" i
(${1}${VISUAL})
endsnippet

snippet { "parens" i
{ ${1}${VISUAL} }
endsnippet

snippet [ "square brackets" i
[${1}${VISUAL}]
endsnippet

snippet " "double quotes" i
"${1}${VISUAL}"${2}
endsnippet

snippet ' "quotes" i
'${1}${VISUAL}'${2}
endsnippet
snippet snip "snippet" b
`!p snip.rv = "snippet"` ${1} "${2}"${3}
${4}
`!p snip.rv = "endsnippet"`${5}
endsnippet

snippet ( "parens" i
(${1}${VISUAL})
endsnippet

snippet { "parens" i
{ ${1}${VISUAL} }
endsnippet

snippet [ "square brackets" i
[${1}${VISUAL}]
endsnippet

snippet " "double quotes" i
"${1}${VISUAL}"${2}
endsnippet

snippet ' "quotes" i
'${1}${VISUAL}'${2}
endsnippet
30 changes: 15 additions & 15 deletions javascript.snippets
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
snippet fun "function" i
function(${1}) {
${2}${VISUAL}
}${3}
endsnippet

snippet cl "console log" b
console.log(${1}${VISUAL})${2}
endsnippet

snippet if "if" i
if (${1}) {
${2}${VISUAL}
}${3}
endsnippet
snippet fun "function" i
function(${1}) {
${2}${VISUAL}
}${3}
endsnippet

snippet cl "console log" b
console.log(${1}${VISUAL})${2}
endsnippet

snippet if "if" i
if (${1}) {
${2}${VISUAL}
}${3}
endsnippet
10 changes: 5 additions & 5 deletions ruby.snippets
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
snippet def "def" b
def ${1}
${2}
end${3}
endsnippet
snippet def "def" b
def ${1}
${2}
end${3}
endsnippet

0 comments on commit 44a5419

Please sign in to comment.