diff options
author | Karel Kočí <cynerd@email.cz> | 2016-06-30 16:11:56 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2016-06-30 16:11:56 +0200 |
commit | 9931e0888b2419326ae10ebbfae532261c5c125f (patch) | |
tree | 7504be5daccbb7b7d1ea396754de47b11ed790e5 /vim/bundle/vim-snippets/snippets/julia.snippets | |
parent | e573b3020c032400eed60b649a2cbf55266e6bb0 (diff) | |
download | myconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.tar.gz myconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.tar.bz2 myconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.zip |
Fix submodules
Diffstat (limited to 'vim/bundle/vim-snippets/snippets/julia.snippets')
m--------- | vim/bundle/vim-snippets | 0 | ||||
-rw-r--r-- | vim/bundle/vim-snippets/snippets/julia.snippets | 102 |
2 files changed, 0 insertions, 102 deletions
diff --git a/vim/bundle/vim-snippets b/vim/bundle/vim-snippets new file mode 160000 +Subproject 15d7e5ec26ec93adee4051b6359be90a943aa38 diff --git a/vim/bundle/vim-snippets/snippets/julia.snippets b/vim/bundle/vim-snippets/snippets/julia.snippets deleted file mode 100644 index 1876ed8..0000000 --- a/vim/bundle/vim-snippets/snippets/julia.snippets +++ /dev/null @@ -1,102 +0,0 @@ -snippet #! - #!/usr/bin/env julia - -# Functions -snippet fun function definition - function ${1}(${2}) - ${0} - end - -snippet ret return - return(${0}) - -# Printing to console -snippet pr print - print("${1}") - ${0} - -snippet prl print line - println("${1}") - ${0} - -# Includes -snippet use load a package - using ${0} - -snippet incl include source code - include("${1}") - ${0} - -# Loops -snippet forc for loop iterating over iterable container - for ${1} in ${2} - ${0} - end - -snippet for standard for loop - for ${1} = ${2} - ${0} - end - -snippet fornest nested for loop - for ${1} = ${2}, ${3} = ${4} - ${0} - end - -snippet wh while loop - while ${1} ${2:<=} ${3} - ${0} - end - -# Conditionals -snippet if if statement - if ${1} - ${0} - end - -snippet el else part of statement - else - ${0} - -snippet eif else if part of if statement - else if ${1} - ${0} - -snippet ife full if-else statement - if ${1} - ${2} - else - ${0} - end - -snippet tern ternary operator - ${1} ? ${2} : ${3:nothing} - -# Exceptions -snippet try try catch - try - ${1} - catch ${2} - ${0} - end - -snippet fin finally statement - finally - ${0} - -snippet thr throw - throw(${1}) - ${0} - -# Messages -snippet in - info("${1}") - ${0} - -snippet wa - warn("${1}") - ${0} - -snippet err - error("${1}") - ${0} |