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

Index: vim-scripts/ftplugin/po.vim
===================================================================
--- vim-scripts.orig/ftplugin/po.vim
+++ vim-scripts/ftplugin/po.vim
@@ -86,10 +86,11 @@
 "     Just delete the bloody file!
 
 " Only do this when not done yet for this buffer.
-if exists("b:did_po_mode_ftplugin")
+if exists("b:did_po_mode_ftplugin") || exists("loaded_po_ftplugin")
    finish
 endif
 let b:did_po_mode_ftplugin = 1
+let loaded_po_ftplugin = 1
 
 setlocal comments=
 setlocal errorformat=%f:%l:\ %m