summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '005_all_vim-7.1-ada-default-compiler.patch')
-rw-r--r--005_all_vim-7.1-ada-default-compiler.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/005_all_vim-7.1-ada-default-compiler.patch b/005_all_vim-7.1-ada-default-compiler.patch
new file mode 100644
index 0000000..3a3e78b
--- /dev/null
+++ b/005_all_vim-7.1-ada-default-compiler.patch
@@ -0,0 +1,17 @@
+--- a/runtime/ftplugin/ada.vim
++++ b/runtime/ftplugin/ada.vim
+@@ -126,9 +126,11 @@
+ endif
+ endif
+
+-if ! exists("current_compiler") ||
+- \ current_compiler != g:ada_default_compiler
+- execute "compiler " . g:ada_default_compiler
++if exists("g:ada_default_compiler")
++ if ! exists("current_compiler") ||
++ \ current_compiler != g:ada_default_compiler
++ execute "compiler " . g:ada_default_compiler
++ endif
+ endif
+
+ " Section: Folding {{{1