Patch 8.2.2203
Problem:    Moodle gift files are not recognized.
Solution:   Add a filetype pattern. (Delim Temizer)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.2202/runtime/filetype.vim        2020-12-07 18:04:59.369997770 
+0100
--- runtime/filetype.vim        2020-12-24 13:25:43.358147769 +0100
***************
*** 627,632 ****
--- 627,635 ----
  " Gedcom
  au BufNewFile,BufRead *.ged,lltxxxxx.txt      setf gedcom
  
+ " Gift (Moodle)
+ autocmd BufRead,BufNewFile *.gift             setf gift
+ 
  " Git
  au BufNewFile,BufRead COMMIT_EDITMSG,MERGE_MSG,TAG_EDITMSG    setf gitcommit
  au BufNewFile,BufRead *.git/config,.gitconfig,/etc/gitconfig  setf gitconfig
*** ../vim-8.2.2202/src/testdir/test_filetype.vim       2020-12-08 
20:39:11.361180690 +0100
--- src/testdir/test_filetype.vim       2020-12-24 13:26:24.586012057 +0100
***************
*** 185,190 ****
--- 185,191 ----
      \ 'gdb': ['.gdbinit'],
      \ 'gdmo': ['file.mo', 'file.gdmo'],
      \ 'gedcom': ['file.ged', 'lltxxxxx.txt', '/tmp/lltmp', '/tmp/lltmp-file', 
'any/tmp/lltmp', 'any/tmp/lltmp-file'],
+     \ 'gift': ['file.gift'],
      \ 'gitcommit': ['COMMIT_EDITMSG', 'MERGE_MSG', 'TAG_EDITMSG'],
      \ 'gitconfig': ['file.git/config', '.gitconfig', '.gitmodules', 
'file.git/modules//config', '/.config/git/config', '/etc/gitconfig', 
'/etc/gitconfig.d/file', '/.gitconfig.d/file', 'any/.config/git/config', 
'any/.gitconfig.d/file', 'some.git/config', 'some.git/modules/any/config'],
      \ 'gitolite': ['gitolite.conf', '/gitolite-admin/conf/file', 
'any/gitolite-admin/conf/file'],
*** ../vim-8.2.2202/src/version.c       2020-12-23 22:40:08.135122598 +0100
--- src/version.c       2020-12-24 13:27:10.973859410 +0100
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     2203,
  /**/

-- 
Q: What is the difference between open-source and commercial software?
A: If you have a problem with commercial software you can call a phone
   number and they will tell you it might be solved in a future version.
   For open-source software there isn't a phone number to call, but you
   get the solution within a day.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202012241234.0BOCYDd93182343%40masaka.moolenaar.net.

Raspunde prin e-mail lui