Mercurial > vim
comparison runtime/filetype.vim @ 34737:74cbeec9496a v9.1.0247
patch 9.1.0247: filetype: bundle config files are not recognized
Commit: https://github.com/vim/vim/commit/3f6fa93b3b7d8e0bd30eddbbf4ae273c14d4455b
Author: Wu, Zhenyu <wuzhenyu@ustc.edu>
Date: Sun Mar 31 19:48:35 2024 +0200
patch 9.1.0247: filetype: bundle config files are not recognized
Problem: filetype: bundle config files are not recognized
Solution: Detect '*/.bundle/config' as yaml
(Wu, Zhenyu)
closes: #14368
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 31 Mar 2024 20:00:04 +0200 |
parents | 0c2eb26ecc73 |
children | 7de0133f87f3 |
comparison
equal
deleted
inserted
replaced
34736:eff3c1cf30ba | 34737:74cbeec9496a |
---|---|
277 autocmd BufRead,BufNewFile *.BUILD,BUILD,BUCK setf bzl | 277 autocmd BufRead,BufNewFile *.BUILD,BUILD,BUCK setf bzl |
278 endif | 278 endif |
279 | 279 |
280 " Busted (Lua unit testing framework - configuration files) | 280 " Busted (Lua unit testing framework - configuration files) |
281 au BufNewFile,BufRead .busted setf lua | 281 au BufNewFile,BufRead .busted setf lua |
282 | |
283 " Bundle config | |
284 au BufNewFile,BufRead */.bundle/config setf yaml | |
282 | 285 |
283 " C or lpc | 286 " C or lpc |
284 au BufNewFile,BufRead *.c call dist#ft#FTlpc() | 287 au BufNewFile,BufRead *.c call dist#ft#FTlpc() |
285 au BufNewFile,BufRead *.lpc,*.ulpc setf lpc | 288 au BufNewFile,BufRead *.lpc,*.ulpc setf lpc |
286 | 289 |