File: disabledby-whatdomain.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 (18 lines) | stat: -rw-r--r-- 562 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
## disabledby-whatdomain.diff by Stefano Zacchiroli <zack@debian.org>

Index: vim-scripts/plugin/whatdomain.vim
===================================================================
--- vim-scripts.orig/plugin/whatdomain.vim
+++ vim-scripts/plugin/whatdomain.vim
@@ -3,6 +3,11 @@
 " Licence:	Public Domain
 " Last Change:	2001 September 19
 
+if exists("loaded_whatdomain")
+  finish
+endif
+let loaded_whatdomain = 1
+
 " This function returns the meaning of a Top Level Domain
 " Usage: :call WhatDomain('de') will print 'DE: Germany'
 function! WhatDomain(...)