mirror of
https://github.com/neovim/neovim.git
synced 2026-04-21 23:05:41 +00:00
vim-patch:9.1.0290: filetype: xilinx files are not recognized (#28295)
Problem: filetype: xilinx files are not recognized
Solution: Add a few xilinx specific file patterns,
inspect lpr files for being xml/pascal
(Wu, Zhenyu)
closes: vim/vim#14454
614691ceef
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
@@ -582,6 +582,9 @@ local extension = {
|
||||
['sublime-settings'] = 'json',
|
||||
['sublime-workspace'] = 'json',
|
||||
['json-patch'] = 'json',
|
||||
bd = 'json',
|
||||
bda = 'json',
|
||||
xci = 'json',
|
||||
json5 = 'json5',
|
||||
jsonc = 'jsonc',
|
||||
jsonl = 'jsonl',
|
||||
@@ -770,7 +773,7 @@ local extension = {
|
||||
papp = 'papp',
|
||||
pxml = 'papp',
|
||||
pas = 'pascal',
|
||||
lpr = 'pascal',
|
||||
lpr = detect_line1('<%?xml', 'xml', 'pascal'),
|
||||
dpr = 'pascal',
|
||||
pbtxt = 'pbtxt',
|
||||
g = 'pccts',
|
||||
@@ -1156,6 +1159,10 @@ local extension = {
|
||||
csproj = 'xml',
|
||||
wpl = 'xml',
|
||||
xmi = 'xml',
|
||||
xpr = 'xml',
|
||||
xpfm = 'xml',
|
||||
spfm = 'xml',
|
||||
bxml = 'xml',
|
||||
xpm = detect_line1('XPM2', 'xpm2', 'xpm'),
|
||||
xpm2 = 'xpm2',
|
||||
xqy = 'xquery',
|
||||
|
||||
Reference in New Issue
Block a user