Patch 8.2.1044
Problem:    Not all systemd file types are recognized.
Solution:   Match several more files. (Guido Cella, closes #6319)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.1043/runtime/filetype.vim        2020-06-15 20:24:53.930811611 
+0200
--- runtime/filetype.vim        2020-06-23 20:59:12.646488390 +0200
***************
*** 1646,1662 ****
  
  " Swift
  au BufNewFile,BufRead *.swift                 setf swift
! au BufNewFile,BufRead *.swift.gyb             setf swiftgyb
  
  " Swift Intermediate Language
! au BufNewFile,BufRead *.sil                   setf sil
  
  " Sysctl
  au BufNewFile,BufRead */etc/sysctl.conf,*/etc/sysctl.d/*.conf setf sysctl
  
  " Systemd unit files
! au BufNewFile,BufRead 
*/systemd/*.{automount,mount,path,service,socket,swap,target,timer}     setf 
systemd
  " Systemd overrides
  au BufNewFile,BufRead */etc/systemd/system/*.d/*.conf setf systemd
  au BufNewFile,BufRead */.config/systemd/user/*.d/*.conf       setf systemd
  " Systemd temp files
--- 1646,1663 ----
  
  " Swift
  au BufNewFile,BufRead *.swift                 setf swift
! au BufNewFile,BufRead *.swift.gyb             setf swiftgyb
  
  " Swift Intermediate Language
! au BufNewFile,BufRead *.sil                   setf sil
  
  " Sysctl
  au BufNewFile,BufRead */etc/sysctl.conf,*/etc/sysctl.d/*.conf setf sysctl
  
  " Systemd unit files
! au BufNewFile,BufRead 
*/systemd/*.{automount,dnssd,link,mount,netdev,network,nspawn,path,service,slice,socket,swap,target,timer}
      setf systemd
  " Systemd overrides
+ au BufNewFile,BufRead */etc/systemd/*.conf.d/*.conf   setf systemd
  au BufNewFile,BufRead */etc/systemd/system/*.d/*.conf setf systemd
  au BufNewFile,BufRead */.config/systemd/user/*.d/*.conf       setf systemd
  " Systemd temp files
*** ../vim-8.2.1043/src/testdir/test_filetype.vim       2020-06-15 
20:24:53.930811611 +0200
--- src/testdir/test_filetype.vim       2020-06-23 20:59:12.646488390 +0200
***************
*** 440,446 ****
      \ 'swiftgyb': ['file.swift.gyb'],
      \ 'sil': ['file.sil'],
      \ 'sysctl': ['/etc/sysctl.conf', '/etc/sysctl.d/file.conf'],
!     \ 'systemd': ['any/systemd/file.automount', 'any/systemd/file.mount', 
'any/systemd/file.path', 'any/systemd/file.service', 'any/systemd/file.socket', 
'any/systemd/file.swap', 'any/systemd/file.target', 'any/systemd/file.timer', 
'/etc/systemd/system/some.d/file.conf', '/etc/systemd/system/some.d/.#file', 
'/etc/systemd/system/.#otherfile', 
'/home/user/.config/systemd/user/some.d/mine.conf', 
'/home/user/.config/systemd/user/some.d/.#file', 
'/home/user/.config/systemd/user/.#otherfile'],
      \ 'systemverilog': ['file.sv', 'file.svh'],
      \ 'tags': ['tags'],
      \ 'tak': ['file.tak'],
--- 440,446 ----
      \ 'swiftgyb': ['file.swift.gyb'],
      \ 'sil': ['file.sil'],
      \ 'sysctl': ['/etc/sysctl.conf', '/etc/sysctl.d/file.conf'],
!     \ 'systemd': ['any/systemd/file.automount', 'any/systemd/file.dnssd', 
'any/systemd/file.link', 'any/systemd/file.mount', 'any/systemd/file.netdev', 
'any/systemd/file.network', 'any/systemd/file.nspawn', 'any/systemd/file.path', 
'any/systemd/file.service', 'any/systemd/file.slice', 
'any/systemd/file.socket', 'any/systemd/file.swap', 'any/systemd/file.target', 
'any/systemd/file.timer', '/etc/systemd/some.conf.d/file.conf', 
'/etc/systemd/system/some.d/file.conf', '/etc/systemd/system/some.d/.#file', 
'/etc/systemd/system/.#otherfile', 
'/home/user/.config/systemd/user/some.d/mine.conf', 
'/home/user/.config/systemd/user/some.d/.#file', 
'/home/user/.config/systemd/user/.#otherfile'],
      \ 'systemverilog': ['file.sv', 'file.svh'],
      \ 'tags': ['tags'],
      \ 'tak': ['file.tak'],
*** ../vim-8.2.1043/src/version.c       2020-06-23 20:00:46.874793599 +0200
--- src/version.c       2020-06-23 21:00:25.722253534 +0200
***************
*** 756,757 ****
--- 756,759 ----
  {   /* Add new patch number below this line */
+ /**/
+     1044,
  /**/

-- 
BRIDGEKEEPER: What is your favorite colour?
LAUNCELOT:    Blue.
BRIDGEKEEPER: Right.  Off you go.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// 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/202006231902.05NJ2YLp1747118%40masaka.moolenaar.net.

Raspunde prin e-mail lui