diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-13 14:49:10 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-13 14:49:10 +0000 |
commit | 8d9e470aa91a93da7d6bda62521aef69a79e956d (patch) | |
tree | 41a33a4c12fd1916f3d6b1d85cbf97524bc3f3e1 /runtime | |
parent | 71930f174d47ef7765e9180df58f597cec71dec7 (diff) | |
download | vim-git-8d9e470aa91a93da7d6bda62521aef69a79e956d.tar.gz |
patch 8.2.4077: not all Libsensors files are recognizedv8.2.4077
Problem: Not all Libsensors files are recognized.
Solution: Add "sensors.d/*" pattern. (Doug Kearns)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 2a09c679d..b1e6c6d4d 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -2286,6 +2286,9 @@ au BufNewFile,BufRead Kconfig.* call s:StarSetf('kconfig') " 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') |