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

Index: vim-scripts/autoload/omni/cpp/complete.vim
===================================================================
--- vim-scripts.orig/autoload/omni/cpp/complete.vim
+++ vim-scripts/autoload/omni/cpp/complete.vim
@@ -9,6 +9,10 @@
     finish
 endif
 
+if exists("loaded_omnicppcomplete")
+  finish
+endif
+
 call omni#cpp#settings#Init()
 let s:OmniCpp_ShowScopeInAbbr = g:OmniCpp_ShowScopeInAbbr
 let s:OmniCpp_ShowPrototypeInAbbr = g:OmniCpp_ShowPrototypeInAbbr