~ubuntu-branches/ubuntu/edgy/vim/edgy-updates

« back to all changes in this revision

Viewing changes to debian/patches/145_fortran.vim.diff

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2006-02-02 13:55:52 UTC
  • Revision ID: james.westby@ubuntu.com-20060202135552-o60gcf576osqpmcg
Tags: 1:6.4-006+2ubuntu1
* Synchronize with Debian unstable.
* Convert Ubuntu patches to use quilt.
* Re-register alternative for `editor'.
* Install .desktop file again, add attribute NoDisplay=true.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
diff -urN vim63/runtime/ftplugin/fortran.vim vim63.new/runtime/ftplugin/fortran.vim
2
 
--- vim63/runtime/ftplugin/fortran.vim  2003-05-18 20:20:26.000000000 +0200
3
 
+++ vim63.new/runtime/ftplugin/fortran.vim      2005-09-24 10:53:44.000000000 +0200
4
 
@@ -83,6 +83,7 @@
5
 
   let s:notend = '\%(\<end\s\+\)\@<!'
6
 
   let s:notselect = '\%(\<select\s\+\)\@<!'
7
 
   let s:notelse = '\%(\<end\s\+\|\<else\s\+\)\@<!'
8
 
+  let s:notprocedure = '\%(\s\+procedure\>\)\@!'
9
 
   let b:match_ignorecase = 1
10
 
   let b:match_words =
11
 
     \ '\<select\s*case\>:' . s:notselect. '\<case\>:\<end\s*select\>,' .
12
 
@@ -95,7 +96,7 @@
13
 
     \ s:notend . '\<interface\>:\<end\s*interface\>,'.
14
 
     \ s:notend . '\<subroutine\>:\<end\s*subroutine\>,'.
15
 
     \ s:notend . '\<function\>:\<end\s*function\>,'.
16
 
-    \ s:notend . '\<module\>:\<end\s*module\>,'.
17
 
+    \ s:notend . '\<module\>' . s:notprocedure . ':\<end\s*module\>,'.
18
 
     \ s:notend . '\<program\>:\<end\s*program\>'
19
 
 endif
20