vim-patch:2eb413f89b97 (#24627)

* vim-patch:2eb413f89b97

detect filetype for `*.vsh` and `*.vv` files (vim/vim#12692)

Co-authored-by: Turiiya <34311583+tobealive@users.noreply.github.com>

2eb413f89b

Co-authored-by: Turiiya <34311583+ttytm@users.noreply.github.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
Christian Clason
2023-08-09 23:35:10 +02:00
committed by GitHub
parent 2ee8ace217
commit f060f03304
2 changed files with 3 additions and 0 deletions

View File

@@ -1017,6 +1017,8 @@ local extension = {
url = 'urlshortcut',
usd = 'usd',
usda = 'usd',
vsh = 'v',
vv = 'v',
sba = 'vb',
vb = 'vb',
dsm = 'vb',

View File

@@ -675,6 +675,7 @@ func s:GetFilenameChecks() abort
\ 'usd': ['file.usda', 'file.usd'],
\ 'usserverlog': ['usserver.log', 'USSERVER.LOG', 'usserver.file.log', 'USSERVER.FILE.LOG', 'file.usserver.log', 'FILE.USSERVER.LOG'],
\ 'usw2kagtlog': ['usw2kagt.log', 'USW2KAGT.LOG', 'usw2kagt.file.log', 'USW2KAGT.FILE.LOG', 'file.usw2kagt.log', 'FILE.USW2KAGT.LOG'],
\ 'v': ['file.vsh', 'file.vv'],
\ 'vala': ['file.vala'],
\ 'vb': ['file.sba', 'file.vb', 'file.vbs', 'file.dsm', 'file.ctl'],
\ 'vdf': ['file.vdf'],