mirror of
https://github.com/neovim/neovim.git
synced 2025-10-22 17:11:49 +00:00
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:
@@ -1017,6 +1017,8 @@ local extension = {
|
|||||||
url = 'urlshortcut',
|
url = 'urlshortcut',
|
||||||
usd = 'usd',
|
usd = 'usd',
|
||||||
usda = 'usd',
|
usda = 'usd',
|
||||||
|
vsh = 'v',
|
||||||
|
vv = 'v',
|
||||||
sba = 'vb',
|
sba = 'vb',
|
||||||
vb = 'vb',
|
vb = 'vb',
|
||||||
dsm = 'vb',
|
dsm = 'vb',
|
||||||
|
|||||||
@@ -675,6 +675,7 @@ func s:GetFilenameChecks() abort
|
|||||||
\ 'usd': ['file.usda', 'file.usd'],
|
\ 'usd': ['file.usda', 'file.usd'],
|
||||||
\ 'usserverlog': ['usserver.log', 'USSERVER.LOG', 'usserver.file.log', 'USSERVER.FILE.LOG', 'file.usserver.log', 'FILE.USSERVER.LOG'],
|
\ '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'],
|
\ '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'],
|
\ 'vala': ['file.vala'],
|
||||||
\ 'vb': ['file.sba', 'file.vb', 'file.vbs', 'file.dsm', 'file.ctl'],
|
\ 'vb': ['file.sba', 'file.vb', 'file.vbs', 'file.dsm', 'file.ctl'],
|
||||||
\ 'vdf': ['file.vdf'],
|
\ 'vdf': ['file.vdf'],
|
||||||
|
|||||||
Reference in New Issue
Block a user