Author: glen                         Date: Mon Aug 11 12:59:55 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- update to 20080424

---- Files affected:
SOURCES:
   securemodelines.vim (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/securemodelines.vim
diff -u SOURCES/securemodelines.vim:1.1 SOURCES/securemodelines.vim:1.2
--- SOURCES/securemodelines.vim:1.1     Thu May 29 22:46:20 2008
+++ SOURCES/securemodelines.vim Mon Aug 11 14:59:49 2008
@@ -21,7 +21,9 @@
                 \ "filetype",    "ft",
                 \ "foldmethod",  "fdm",
                 \ "readonly",    "ro",   "noreadonly", "noro",
-                \ "rightleft",   "rl",   "norightleft", "norl"
+                \ "rightleft",   "rl",   "norightleft", "norl",
+                \ "spell",
+                \ "spelllang"
                 \ ]
 endif
 
@@ -38,7 +40,7 @@
         set nomodeline
         if g:secure_modelines_verbose
             echohl WarningMsg
-            echo "Forcibly disabling internal modelines for 
securemodelines.vim"
+            echomsg "Forcibly disabling internal modelines for 
securemodelines.vim"
             echohl None
         endif
     endif
@@ -60,7 +62,7 @@
             exec "setlocal " . a:item
         elseif g:secure_modelines_verbose
             echohl WarningMsg
-            echo "Ignoring '" . a:item . "' in modeline"
+            echomsg "Ignoring '" . a:item . "' in modeline"
             echohl None
         endif
     endif
@@ -91,7 +93,7 @@
 endfun
 
 fun! <SID>DoModeline(line) abort
-    let l:matches = matchlist(a:line, 
'\%(\S\@<!\%(vi\|vim\([<>=]\?\)\([0-9]\+\)\?\)\|\sex\):\s\+set\?\s\+\([^:]\+\):[EMAIL
 PROTECTED]')
+    let l:matches = matchlist(a:line, 
'\%(\S\@<!\%(vi\|vim\([<>=]\?\)\([0-9]\+\)\?\)\|\sex\):\s*set\?\s\+\([^:]\+\):[EMAIL
 PROTECTED]')
     if len(l:matches) > 0
         let l:operator = ">"
         if len(l:matches[1]) > 0
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/securemodelines.vim?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to