- add filetype for Erlang header files (#417371)

This commit is contained in:
Karsten Hopp 2008-02-25 16:56:37 +00:00
parent ba59f54a58
commit d841be8082
2 changed files with 16 additions and 2 deletions

12
vim-7.1-erlang.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up vim71/runtime/filetype.vim.erlang vim71/runtime/filetype.vim
--- vim71/runtime/filetype.vim.erlang 2008-02-25 17:50:50.000000000 +0100
+++ vim71/runtime/filetype.vim 2008-02-25 17:51:17.000000000 +0100
@@ -595,7 +595,7 @@ func! s:FTe()
endfunc
" ERicsson LANGuage
-au BufNewFile,BufRead *.erl setf erlang
+au BufNewFile,BufRead *.erl,*hrl setf erlang
" Elm Filter Rules file
au BufNewFile,BufRead filter-rules setf elmfilt

View File

@ -296,8 +296,7 @@ Patch239: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.239
Patch240: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.240
Patch241: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.241
Patch242: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.242
Patch243: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.241
Patch244: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.243
Patch243: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.243
Patch244: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.244
Patch245: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.245
Patch246: ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.246
@ -332,6 +331,7 @@ Patch3012: vim-7.0-specedit.patch
# Remove this one when the runtime files get updated (#246378):
Patch3013: vim-7.1-ada.patch
#
Patch3014: vim-7.1-erlang.patch
Patch3100: vim-selinux.patch
Patch3101: vim-selinux2.patch
@ -733,6 +733,7 @@ perl -pi -e "s,bin/nawk,bin/awk,g" runtime/tools/mve.awk
%patch3011 -p1
%patch3012 -p1
%patch3013 -p1
%patch3014 -p1
%if %{WITH_SELINUX}
%patch3100 -p1
@ -1114,6 +1115,7 @@ rm -rf $RPM_BUILD_ROOT
- patchlevel 262
- add fix for #231124, BOM was ignored
- enable ruby interpreter (#215207)
- add filetype for Erlang header files (#417371)
* Mon Feb 11 2008 Karsten Hopp <karsten@redhat.com> 7.1.245-1
- patchlevel 245