forked from aniani/vim
patch 9.1.0248: filetype: yarn lock files are not recognized
Problem: filetype: yarn lock files are not recognized
Solution: Detect 'yarn.lock' files as yaml
(Wu, Zhenyu)
closes: #14369
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
3f6fa93b3b
commit
3b497aa247
@@ -2959,6 +2959,9 @@ au filetypedetect BufNewFile,BufRead,StdinReadPost *
|
||||
\ setf FALLBACK conf |
|
||||
\ endif
|
||||
|
||||
" Yarn lock
|
||||
au BufNewFile,BufRead yarn.lock setf yaml
|
||||
|
||||
|
||||
" If the GUI is already running, may still need to install the Syntax menu.
|
||||
" Don't do it when the 'M' flag is included in 'guioptions'.
|
||||
|
||||
Reference in New Issue
Block a user