File: vimplate_debian-path.diff

package info (click to toggle)
vim-scripts 20210124.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,100 kB
  • sloc: perl: 420; xml: 95; makefile: 24
file content (17 lines) | stat: -rw-r--r-- 522 bytes parent folder | download | duplicates (3)
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/vimplate/plugin/vimplate.vim
===================================================================
--- vim-scripts.orig/vimplate/plugin/vimplate.vim
+++ vim-scripts/vimplate/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)