File: vimplate_debian-path.diff

package info (click to toggle)
vim-scripts 20130814
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 4,608 kB
  • ctags: 2,511
  • sloc: perl: 452; xml: 95; makefile: 25
file content (17 lines) | stat: -rw-r--r-- 495 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
## vimplate_debian-path.diff by Stefano Zacchiroli <zack@debian.org>

Index: vim-scripts/plugin/vimplate.vim
===================================================================
--- vim-scripts.orig/plugin/vimplate.vim
+++ vim-scripts/plugin/vimplate.vim
@@ -15,6 +15,10 @@
 endif
 let loaded_vimplate = 1
 
+if !exists("Vimplate")
+  " Debian specific path unless overridden by the user
+  let Vimplate = "/usr/bin/vimplate"
+endif
 let s:vimplate = Vimplate
 
 function s:RunVimplate(template)