mirror of
https://github.com/gryf/snipmate.vim.git
synced 2025-12-24 15:12:28 +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_js_snips')
|
||||
if !exists('loaded_snips') || exists('s:did_js_snips')
|
||||
fini
|
||||
en
|
||||
let b:did_js_snips = 1
|
||||
let s:did_js_snips = 1
|
||||
|
||||
" Prototype
|
||||
exe "Snipp proto ${1:class_name}.prototype.${2:method_name} =\nfunction(${3:first_argument}) {\n\t${4:// body...}\n};"
|
||||
|
||||
Reference in New Issue
Block a user