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
@ -3410,6 +3410,9 @@ au BufNewFile,BufRead *.blp setf blueprint
|
||||
" Blueprint build system file
|
||||
au BufNewFile,BufRead *.bp setf bp
|
||||
|
||||
" Generic log file
|
||||
au BufNewFile,BufRead *.log,*_log,*.LOG,*_LOG setf log
|
||||
|
||||
" Use the filetype detect plugins. They may overrule any of the previously
|
||||
" detected filetypes.
|
||||
runtime! ftdetect/*.vim
|
||||
|
Reference in New Issue
Block a user