mirror of
https://github.com/vim/vim.git
synced 2025-10-24 08:54:47 -04:00
patch 9.1.1755: filetype: generic log files are not recognized
Problem: filetype: generic log files are not recognized
Solution: Detect *.log files as log filetype, include simple log syntax
script (Mao-Yining).
closes: #18285
Co-authored-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Mao-Yining <mao.yining@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
450d59145e
commit
b8970b43cd
@@ -454,6 +454,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
lite: ['file.lite', 'file.lt'],
|
||||
litestep: ['/LiteStep/any/file.rc', 'any/LiteStep/any/file.rc'],
|
||||
livebook: ['file.livemd'],
|
||||
log: ['file.log', 'file_log', 'file.LOG', 'file_LOG'],
|
||||
logcheck: ['/etc/logcheck/file.d-some/file', '/etc/logcheck/file.d/file', 'any/etc/logcheck/file.d-some/file', 'any/etc/logcheck/file.d/file'],
|
||||
loginaccess: ['/etc/login.access', 'any/etc/login.access'],
|
||||
logindefs: ['/etc/login.defs', 'any/etc/login.defs'],
|
||||
|
||||
Reference in New Issue
Block a user