1 | if !exists('loaded_snippet') || &cp
|
---|
2 | finish
|
---|
3 | endif
|
---|
4 |
|
---|
5 | let st = g:snip_start_tag
|
---|
6 | let et = g:snip_end_tag
|
---|
7 | let cd = g:snip_elem_delim
|
---|
8 |
|
---|
9 | exec "Snippet urlpatterns urlpatterns = patterns('".st.et."',<CR>".st.et."<CR>)"
|
---|
10 | exec "Snippet urlplus urlpatterns += patterns('".st.et."',<CR>".st.et."<CR>)"
|
---|
11 | exec "Snippet urli (r'^".st.et."/', include('".st.et."')),<CR>".st.et.""
|
---|
12 | exec "Snippet urlf url(r'".st.et."/$', ".st.et.", name='".st.et."'),<CR>".st.et.""
|
---|
13 | exec "Snippet urlfp url(r'".st.et."/$', ".st.et.", {".st.et."}, name='".st.et."'),<CR>".st.et.""
|
---|