mirror of
https://github.com/gryf/snipmate.vim.git
synced 2025-12-28 17:32:39 +01:00
significantly refactored code, and added support for file-based snippets and delimeters before snippet triggers.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
if !exists('loaded_snips') || exists('b:did_sh_snips')
|
||||
if !exists('loaded_snips') || exists('s:did_sh_snips')
|
||||
fini
|
||||
en
|
||||
let b:did_sh_snips = 1
|
||||
let s:did_sh_snips = 1
|
||||
|
||||
exe "Snipp if if [[ ${1:condition} ]]; then\n\t${2:#statements}\nfi"
|
||||
exe "Snipp elif elif [[ ${1:condition} ]]; then\n\t${2:#statements}"
|
||||
|
||||
Reference in New Issue
Block a user