From 5f75dde2057d0f3aa2711389b6e19df9d7c7e387 Mon Sep 17 00:00:00 2001 From: Holger Rapp Date: Sat, 11 Jul 2015 13:39:39 +0200 Subject: [PATCH] Remove snipMate compatibility script. The engine does not use this and it should therefore live in vim-snippets. --- plugin/snipMate_compatibility.vim | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 plugin/snipMate_compatibility.vim diff --git a/plugin/snipMate_compatibility.vim b/plugin/snipMate_compatibility.vim deleted file mode 100644 index 6fcb82c..0000000 --- a/plugin/snipMate_compatibility.vim +++ /dev/null @@ -1,15 +0,0 @@ -if exists('did_UltiSnips_snipmate_compatibility') - finish -endif -let did_UltiSnips_snipmate_compatibility = 1 - -if ! exists('g:snips_author') - let g:snips_author = "John Doe" -endif - -" Filename function, taken from snipMate.vim -fun! Filename(...) - let filename = expand('%:t:r') - if filename == '' | return a:0 == 2 ? a:2 : '' | endif - return !a:0 || a:1 == '' ? filename : substitute(a:1, '$1', filename, 'g') -endf