Patch 8.2.4658
Problem:    Org-mode files are not recognized.
Solution:   Add patterns to recognize "org" files. (closes #10046)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.4657/runtime/filetype.vim        2022-03-15 12:00:18.239752062 
+0000
--- runtime/filetype.vim        2022-03-31 20:23:52.093787502 +0100
***************
*** 1277,1282 ****
--- 1277,1285 ----
  " Oracle config file
  au BufNewFile,BufRead *.ora                   setf ora
  
+ " Org
+ au BufNewFile,BufRead *.org,*.org_archive     setf org
+ 
  " Packet filter conf
  au BufNewFile,BufRead pf.conf                 setf pf
  
***************
*** 1732,1738 ****
  au BufNewFile,BufRead *.zsh                   setf zsh
  
  " Scheme
! au BufNewFile,BufRead *.scm,*.ss,*.sld,*.rkt,*.rktd,*.rktl    setf scheme
  
  " Screen RC
  au BufNewFile,BufRead .screenrc,screenrc      setf screen
--- 1735,1741 ----
  au BufNewFile,BufRead *.zsh                   setf zsh
  
  " Scheme
! au BufNewFile,BufRead *.scm,*.ss,*.sld,*.rkt,*.rktd,*.rktl    setf scheme
  
  " Screen RC
  au BufNewFile,BufRead .screenrc,screenrc      setf screen
*** ../vim-8.2.4657/src/testdir/test_filetype.vim       2022-03-15 
12:00:18.239752062 +0000
--- src/testdir/test_filetype.vim       2022-03-31 20:21:52.577851764 +0100
***************
*** 382,387 ****
--- 382,388 ----
      \ 'opam': ['opam', 'file.opam', 'file.opam.template'],
      \ 'openroad': ['file.or'],
      \ 'ora': ['file.ora'],
+     \ 'org': ['file.org', 'file.org_archive'],
      \ 'pamconf': ['/etc/pam.conf', '/etc/pam.d/file', 'any/etc/pam.conf', 
'any/etc/pam.d/file'],
      \ 'pamenv': ['/etc/security/pam_env.conf', '/home/user/.pam_environment', 
'.pam_environment', 'pam_env.conf'],
      \ 'papp': ['file.papp', 'file.pxml', 'file.pxsl'],
*** ../vim-8.2.4657/src/version.c       2022-03-31 20:02:52.426045597 +0100
--- src/version.c       2022-03-31 20:24:08.113777441 +0100
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     4658,
  /**/

-- 
Why isn't there mouse-flavored cat food?

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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/20220331192511.CC87D1C13F2%40moolenaar.net.

Raspunde prin e-mail lui