vim-patch:8.2.3599: not all gdbinit files are recognized

Problem:    Not all gdbinit files are recognized.
Solution:   Add "gdbinit". (Doug Kearns)
782b4bbc16
This commit is contained in:
Christian Clason
2021-11-16 12:40:06 +01:00
parent e5ef736dfe
commit b20429c8a5
2 changed files with 2 additions and 2 deletions

View File

@@ -643,7 +643,7 @@ au BufNewFile,BufRead *.fsl setf framescript
au BufNewFile,BufRead fstab,mtab setf fstab
" GDB command files
au BufNewFile,BufRead .gdbinit setf gdb
au BufNewFile,BufRead .gdbinit,gdbinit setf gdb
" GDMO
au BufNewFile,BufRead *.mo,*.gdmo setf gdmo

View File

@@ -188,7 +188,7 @@ let s:filename_checks = {
\ 'freebasic': ['file.fb', 'file.bi'],
\ 'fstab': ['fstab', 'mtab'],
\ 'fvwm': ['/.fvwm/file', 'any/.fvwm/file'],
\ 'gdb': ['.gdbinit'],
\ 'gdb': ['.gdbinit', 'gdbinit'],
\ 'gdmo': ['file.mo', 'file.gdmo'],
\ 'gedcom': ['file.ged', 'lltxxxxx.txt', '/tmp/lltmp', '/tmp/lltmp-file', 'any/tmp/lltmp', 'any/tmp/lltmp-file'],
\ 'gemtext': ['file.gmi', 'file.gemini'],