diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-11-16 11:10:11 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-11-16 11:10:11 +0000 |
commit | 782b4bbc163e03ebe98d25bc62b9d82cba8f91a1 (patch) | |
tree | 1be45fa32395b421e39cd5a90f2e3d13237a692d | |
parent | 0818ab82e7058145366ebbe759f0b3f74724bdfd (diff) |
patch 8.2.3599: not all gdbinit files are recognizedv8.2.3599
Problem: Not all gdbinit files are recognized.
Solution: Add "gdbinit". (Doug Kearns)
-rw-r--r-- | runtime/filetype.vim | 2 | ||||
-rw-r--r-- | src/testdir/test_filetype.vim | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index befa21dc9a..8fd2fc04a1 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -647,7 +647,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 diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index de2b0f22c2..90bc159f1e 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -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'], diff --git a/src/version.c b/src/version.c index 7cffc01e2e..cb1599d397 100644 --- a/src/version.c +++ b/src/version.c @@ -758,6 +758,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3599, +/**/ 3598, /**/ 3597, |