Patch 8.2.4077
Problem:    Not all Libsensors files are recognized.
Solution:   Add "sensors.d/*" pattern. (Doug Kearns)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.4076/runtime/filetype.vim        2022-01-11 18:14:17.934205651 
+0000
--- runtime/filetype.vim        2022-01-13 14:44:01.278418634 +0000
***************
*** 2286,2291 ****
--- 2286,2294 ----
  " Lilo: Linux loader
  au BufNewFile,BufRead lilo.conf*              call s:StarSetf('lilo')
  
+ " Libsensors
+ au BufNewFile,BufRead */etc/sensors.d/[^.]*   call s:StarSetf('sensors')
+ 
  " Logcheck
  au BufNewFile,BufRead */etc/logcheck/*.d*/*   call s:StarSetf('logcheck')
  
*** ../vim-8.2.4076/src/testdir/test_filetype.vim       2022-01-11 
18:14:17.934205651 +0000
--- src/testdir/test_filetype.vim       2022-01-13 14:44:28.010391865 +0000
***************
*** 448,454 ****
      \ 'sdl': ['file.sdl', 'file.pr'],
      \ 'sed': ['file.sed'],
      \ 'svelte': ['file.svelte'],
!     \ 'sensors': ['/etc/sensors.conf', '/etc/sensors3.conf', 
'any/etc/sensors.conf', 'any/etc/sensors3.conf'],
      \ 'services': ['/etc/services', 'any/etc/services'],
      \ 'setserial': ['/etc/serial.conf', 'any/etc/serial.conf'],
      \ 'sh': ['.bashrc', 'file.bash', 
'/usr/share/doc/bash-completion/filter.sh','/etc/udev/cdsymlinks.conf', 
'any/etc/udev/cdsymlinks.conf'],
--- 448,454 ----
      \ 'sdl': ['file.sdl', 'file.pr'],
      \ 'sed': ['file.sed'],
      \ 'svelte': ['file.svelte'],
!     \ 'sensors': ['/etc/sensors.conf', '/etc/sensors3.conf', 
'/etc/sensors.d/file', 'any/etc/sensors.conf', 'any/etc/sensors3.conf', 
'any/etc/sensors.d/file'],
      \ 'services': ['/etc/services', 'any/etc/services'],
      \ 'setserial': ['/etc/serial.conf', 'any/etc/serial.conf'],
      \ 'sh': ['.bashrc', 'file.bash', 
'/usr/share/doc/bash-completion/filter.sh','/etc/udev/cdsymlinks.conf', 
'any/etc/udev/cdsymlinks.conf'],
*** ../vim-8.2.4076/src/version.c       2022-01-13 13:47:38.634084725 +0000
--- src/version.c       2022-01-13 14:47:19.526207552 +0000
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     4077,
  /**/

-- 
Experience is what you get when you don't get what you want.

 /// 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/20220113145005.9EA701C226C%40moolenaar.net.

Raspunde prin e-mail lui