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

Index: b/plugin/calendar.vim
===================================================================
--- a/plugin/calendar.vim
+++ b/plugin/calendar.vim
@@ -323,10 +323,10 @@
 "       :echo calendar_version
 " GetLatestVimScripts: 52 1 :AutoInstall: calendar.vim
 
-let g:calendar_version = "2.5"
-if &compatible
+if &compatible || exists("g:calendar_version")
   finish
 endif
+let g:calendar_version = "2.5"
 
 if !exists("g:calendar_action")
   let g:calendar_action = "<SID>CalendarDiary"