Skip to content

Commit

Permalink
patch 8.2.4571: not all gdb files are recognized
Browse files Browse the repository at this point in the history
Problem:    Not all gdb files are recognized.
Solution:   Add a few more patterns for gdb. (Jade Lovelace, closes #9956)
  • Loading branch information
lf- authored and brammool committed Mar 15, 2022
1 parent 1fdf84e commit 8d5e514
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/filetype.vim
Expand Up @@ -668,7 +668,7 @@ au BufNewFile,BufRead *.fs call dist#ft#FTfs()
au BufNewFile,BufRead *.fsi,*.fsx setf fsharp

" GDB command files
au BufNewFile,BufRead .gdbinit,gdbinit setf gdb
au BufNewFile,BufRead .gdbinit,gdbinit,.gdbearlyinit,gdbearlyinit,*.gdb setf gdb

" GDMO
au BufNewFile,BufRead *.mo,*.gdmo setf gdmo
Expand Down
2 changes: 1 addition & 1 deletion src/testdir/test_filetype.vim
Expand Up @@ -196,7 +196,7 @@ let s:filename_checks = {
\ 'fstab': ['fstab', 'mtab'],
\ 'fusion': ['file.fusion'],
\ 'fvwm': ['/.fvwm/file', 'any/.fvwm/file'],
\ 'gdb': ['.gdbinit', 'gdbinit'],
\ 'gdb': ['.gdbinit', 'gdbinit', 'file.gdb', '.config/gdbearlyinit', '.gdbearlyinit'],
\ 'gdresource': ['file.tscn', 'file.tres'],
\ 'gdscript': ['file.gd'],
\ 'gdmo': ['file.mo', 'file.gdmo'],
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -750,6 +750,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4571,
/**/
4570,
/**/
Expand Down

0 comments on commit 8d5e514

Please sign in to comment.