mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -04:00
patch 9.1.1446: filetype: cuda-gdb config files are not recognized
Problem: filetype: cuda-gdb config files are not recognized Solution: detect .cuda-gdbinit and cuda-gdbinit files as gdb filetype (Wu Zhenyu) closes: #17471 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
328332b0b0
commit
601cfa9a23
@ -932,7 +932,7 @@ au BufNewFile,BufRead *.fsh setf fsh
|
|||||||
au BufNewFile,BufRead *.fsi,*.fsx setf fsharp
|
au BufNewFile,BufRead *.fsi,*.fsx setf fsharp
|
||||||
|
|
||||||
" GDB command files
|
" GDB command files
|
||||||
au BufNewFile,BufRead .gdbinit,gdbinit,.gdbearlyinit,gdbearlyinit,*.gdb setf gdb
|
au BufNewFile,BufRead .gdbinit,gdbinit,.cuda-gdbinit,cuda-gdbinit,.gdbearlyinit,gdbearlyinit,*.gdb setf gdb
|
||||||
|
|
||||||
" GDMO
|
" GDMO
|
||||||
au BufNewFile,BufRead *.mo,*.gdmo setf gdmo
|
au BufNewFile,BufRead *.mo,*.gdmo setf gdmo
|
||||||
|
@ -298,7 +298,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
|||||||
func: ['file.fc'],
|
func: ['file.fc'],
|
||||||
fusion: ['file.fusion'],
|
fusion: ['file.fusion'],
|
||||||
fvwm: ['/.fvwm/file', 'any/.fvwm/file'],
|
fvwm: ['/.fvwm/file', 'any/.fvwm/file'],
|
||||||
gdb: ['.gdbinit', 'gdbinit', 'file.gdb', '.config/gdbearlyinit', '.gdbearlyinit'],
|
gdb: ['.gdbinit', 'gdbinit', '.cuda-gdbinit', 'cuda-gdbinit', 'file.gdb', '.config/gdbearlyinit', '.gdbearlyinit'],
|
||||||
gdmo: ['file.mo', 'file.gdmo'],
|
gdmo: ['file.mo', 'file.gdmo'],
|
||||||
gdresource: ['file.tscn', 'file.tres'],
|
gdresource: ['file.tscn', 'file.tres'],
|
||||||
gdscript: ['file.gd'],
|
gdscript: ['file.gd'],
|
||||||
|
@ -709,6 +709,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1446,
|
||||||
/**/
|
/**/
|
||||||
1445,
|
1445,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user