1
0
forked from aniani/vim

patch 9.1.0745: filetype: bun and deno history files not recognized

Problem:  filetype: bun and deno history files not recognized
Solution: detect '.bun_repl_history' and 'deno_history.txt' as
          javascript filetype (Wu, Zhenyu)

closes: #15761

Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Wu, Zhenyu
2024-09-29 10:03:19 +02:00
committed by Christian Brabandt
parent 7cd6edf2b7
commit 8a2aea8a62
3 changed files with 9 additions and 1 deletions

View File

@@ -301,6 +301,9 @@ endif
" Busted (Lua unit testing framework - configuration files)
au BufNewFile,BufRead .busted setf lua
" Bun history
au BufNewFile,BufRead .bun_repl_history setf javascript
" Bundle config
au BufNewFile,BufRead */.bundle/config setf yaml
@@ -652,6 +655,9 @@ au BufNewFile,BufRead */etc/apt/sources.list setf debsources
au BufNewFile,BufRead */etc/apt/sources.list.d/*.list setf debsources
au BufNewFile,BufRead */etc/apt/sources.list.d/*.sources setf deb822sources
" Deno history
au BufNewFile,BufRead deno_history.txt setf javascript
" Deny hosts
au BufNewFile,BufRead denyhosts.conf setf denyhosts