r214 - in trunk/vim/debian: . patches
James Vega
jamessan-guest@costa.debian.org
Fri, 20 May 2005 14:17:00 +0000
Author: jamessan-guest
Date: 2005-05-20 14:16:59 +0000 (Fri, 20 May 2005)
New Revision: 214
Added:
trunk/vim/debian/patches/127_scripts.vim.diff
Modified:
trunk/vim/debian/changelog
Log:
#309859, Add automatic setting of lua filetype.
Modified: trunk/vim/debian/changelog
===================================================================
--- trunk/vim/debian/changelog 2005-05-19 13:44:22 UTC (rev 213)
+++ trunk/vim/debian/changelog 2005-05-20 14:16:59 UTC (rev 214)
@@ -4,8 +4,10 @@
+ Updated patch 125_gzip.vim.diff to match upstream's vim7 patch.
Removed compression detection for FileAppendPre since there's no good
way to retrieve the necessary information.
+ + Added patch 127_scripts.vim.diff, makes Vim automatically set the proper
+ filetype when editing lua scripts. (closes: #309859)
- -- Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org> Thu, 19 May 2005 09:09:05 -0400
+ -- Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org> Fri, 20 May 2005 10:10:45 -0400
vim (1:6.3-071+2) unstable; urgency=low
Added: trunk/vim/debian/patches/127_scripts.vim.diff
===================================================================
--- trunk/vim/debian/patches/127_scripts.vim.diff 2005-05-19 13:44:22 UTC (rev 213)
+++ trunk/vim/debian/patches/127_scripts.vim.diff 2005-05-20 14:16:59 UTC (rev 214)
@@ -0,0 +1,14 @@
+diff -ur vim63.orig/runtime/scripts.vim vim63/runtime/scripts.vim
+--- vim63.orig/runtime/scripts.vim 2004-04-18 06:54:30.000000000 -0400
++++ vim63/runtime/scripts.vim 2005-05-20 10:04:08.000000000 -0400
+@@ -86,6 +86,10 @@
+ elseif s:name =~ 'make\>'
+ set ft=make
+
++ " Lua
++ elseif s:name =~ 'lua'
++ set ft=lua
++
+ " Perl
+ elseif s:name =~ 'perl'
+ set ft=perl