Patrick Texier wrote:
> I have a patch for gedcom files detection for LifeLines (Unix and
> Windows).
Thanks. It's better to put patterns that end in a * near the end of
filetype.vim:
*** ../vim-7.2.069/runtime/filetype.vim Wed Aug 6 18:56:36 2008
--- runtime/filetype.vim Sun Dec 14 12:54:19 2008
***************
*** 704,710 ****
au BufNewFile,BufRead *.mo,*.gdmo setf gdmo
" Gedcom
! au BufNewFile,BufRead *.ged setf gedcom
" Git
autocmd BufNewFile,BufRead *.git/COMMIT_EDITMSG setf gitcommit
--- 707,713 ----
au BufNewFile,BufRead *.mo,*.gdmo setf gdmo
" Gedcom
! au BufNewFile,BufRead *.ged,lltxxxxx.txt setf gedcom
" Git
autocmd BufNewFile,BufRead *.git/COMMIT_EDITMSG setf gitcommit
***************
*** 2325,2330 ****
--- 2336,2344 ----
\| let b:fvwm_version = 2 | call s:StarSetf('fvwm')
\|endif
+ " Gedcom
+ au BufNewFile,BufRead /tmp/lltmp* call s:StarSetf('gedcom')
+
" GTK RC
au BufNewFile,BufRead .gtkrc*,gtkrc* call s:StarSetf('gtkrc')
--
An indication you must be a manager:
You feel sorry for Dilbert's boss.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---