mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.4571: not all gdb files are recognized
Problem: Not all gdb files are recognized. Solution: Add a few more patterns for gdb. (Jade Lovelace, closes #9956)
This commit is contained in:
committed by
Bram Moolenaar
parent
1fdf84e033
commit
8d5e514d77
@@ -668,7 +668,7 @@ au BufNewFile,BufRead *.fs call dist#ft#FTfs()
|
|||||||
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 setf gdb
|
au BufNewFile,BufRead .gdbinit,gdbinit,.gdbearlyinit,gdbearlyinit,*.gdb setf gdb
|
||||||
|
|
||||||
" GDMO
|
" GDMO
|
||||||
au BufNewFile,BufRead *.mo,*.gdmo setf gdmo
|
au BufNewFile,BufRead *.mo,*.gdmo setf gdmo
|
||||||
|
@@ -196,7 +196,7 @@ let s:filename_checks = {
|
|||||||
\ 'fstab': ['fstab', 'mtab'],
|
\ 'fstab': ['fstab', 'mtab'],
|
||||||
\ 'fusion': ['file.fusion'],
|
\ 'fusion': ['file.fusion'],
|
||||||
\ 'fvwm': ['/.fvwm/file', 'any/.fvwm/file'],
|
\ 'fvwm': ['/.fvwm/file', 'any/.fvwm/file'],
|
||||||
\ 'gdb': ['.gdbinit', 'gdbinit'],
|
\ 'gdb': ['.gdbinit', 'gdbinit', 'file.gdb', '.config/gdbearlyinit', '.gdbearlyinit'],
|
||||||
\ 'gdresource': ['file.tscn', 'file.tres'],
|
\ 'gdresource': ['file.tscn', 'file.tres'],
|
||||||
\ 'gdscript': ['file.gd'],
|
\ 'gdscript': ['file.gd'],
|
||||||
\ 'gdmo': ['file.mo', 'file.gdmo'],
|
\ 'gdmo': ['file.mo', 'file.gdmo'],
|
||||||
|
@@ -750,6 +750,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 */
|
||||||
|
/**/
|
||||||
|
4571,
|
||||||
/**/
|
/**/
|
||||||
4570,
|
4570,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user