To: vim_dev@googlegroups.com Subject: Patch 8.2.4077 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///