aboutsummaryrefslogtreecommitdiff
path: root/vim/bundle/vim-snippets/snippets/falcon.snippets
diff options
context:
space:
mode:
Diffstat (limited to 'vim/bundle/vim-snippets/snippets/falcon.snippets')
m---------vim/bundle/vim-snippets0
-rw-r--r--vim/bundle/vim-snippets/snippets/falcon.snippets71
2 files changed, 0 insertions, 71 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/falcon.snippets b/vim/bundle/vim-snippets/snippets/falcon.snippets
deleted file mode 100644
index c523980..0000000
--- a/vim/bundle/vim-snippets/snippets/falcon.snippets
+++ /dev/null
@@ -1,71 +0,0 @@
-snippet #!
- #!/usr/bin/env falcon
-
-# Import
-snippet imp
- import ${0:module}
-
-# Function
-snippet fun
- function ${2:function_name}(${3})
- ${0}
- end
-
-# Class
-snippet class
- class ${1:class_name}(${2:class_params})
- ${0:/* members/methods */}
- end
-
-# If
-snippet if
- if ${1:condition}
- ${0}
- end
-
-# If else
-snippet ife
- if ${1:condition}
- ${0}
- else
- ${1}
- end
-
-# If else if
-snippet eif
- elif ${1:condition}
- ${0}
-
-# Switch case
-snippet switch
- switch ${1:expression}
- case ${2:item}
- case ${0:item}
- default
- end
-
-# Select
-snippet select
- select ${1:variable}
- case ${2:TypeSpec}
- case ${0:TypeSpec}
- default
- end
-
-# For/in Loop
-snippet forin
- for ${1:element} in ${2:container}
- ${0}
- end
-
-# For/to Loop
-snippet forto
- for ${1:lowerbound} to ${2:upperbound}
- ${0}
- end
-
-# While Loop
-snippet wh
- while ${1:conidition}
- ${0}
- end