1
0
forked from aniani/vim

patch 9.1.0906: filetype: Nvidia PTX files are not recognized

Problem:  filetype: Nvidia PTX files are not recognized
Solution: detect '*.ptx' files as ptx filetype (Yinzuo Jiang)

Reference: https://docs.nvidia.com/cuda/parallel-thread-execution/

closes: #16171

Signed-off-by: Yinzuo Jiang <jiangyinzuo@foxmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Yinzuo Jiang
2024-12-05 21:31:09 +01:00
committed by Christian Brabandt
parent 73785accfd
commit bdb5f85a51
6 changed files with 77 additions and 0 deletions

View File

@@ -608,6 +608,7 @@ def s:GetFilenameChecks(): dict<list<string>>
ps1xml: ['file.ps1xml'],
psf: ['file.psf'],
psl: ['file.psl'],
ptx: ['file.ptx'],
pug: ['file.pug'],
puppet: ['file.pp'],
purescript: ['file.purs'],

View File

@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
906,
/**/
905,
/**/