Patch 8.2.4571
Problem: Not all gdb files are recognized.
Solution: Add a few more patterns for gdb. (Jade Lovelace, closes #9956)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.4570/runtime/filetype.vim 2022-02-24 17:59:05.256644873
+0000
--- runtime/filetype.vim 2022-03-15 11:55:43.072136461 +0000
***************
*** 668,674 ****
au BufNewFile,BufRead *.fsi,*.fsx setf fsharp
" GDB command files
! au BufNewFile,BufRead .gdbinit,gdbinit setf gdb
" GDMO
au BufNewFile,BufRead *.mo,*.gdmo setf gdmo
--- 668,674 ----
au BufNewFile,BufRead *.fsi,*.fsx setf fsharp
" GDB command files
! au BufNewFile,BufRead .gdbinit,gdbinit,.gdbearlyinit,gdbearlyinit,*.gdb
setf gdb
" GDMO
au BufNewFile,BufRead *.mo,*.gdmo setf gdmo
*** ../vim-8.2.4570/src/testdir/test_filetype.vim 2022-02-25
17:40:59.319948279 +0000
--- src/testdir/test_filetype.vim 2022-03-15 11:55:43.072136461 +0000
***************
*** 196,202 ****
\ 'fstab': ['fstab', 'mtab'],
\ 'fusion': ['file.fusion'],
\ 'fvwm': ['/.fvwm/file', 'any/.fvwm/file'],
! \ 'gdb': ['.gdbinit', 'gdbinit'],
\ 'gdresource': ['file.tscn', 'file.tres'],
\ 'gdscript': ['file.gd'],
\ 'gdmo': ['file.mo', 'file.gdmo'],
--- 196,202 ----
\ 'fstab': ['fstab', 'mtab'],
\ 'fusion': ['file.fusion'],
\ 'fvwm': ['/.fvwm/file', 'any/.fvwm/file'],
! \ 'gdb': ['.gdbinit', 'gdbinit', 'file.gdb', '.config/gdbearlyinit',
'.gdbearlyinit'],
\ 'gdresource': ['file.tscn', 'file.tres'],
\ 'gdscript': ['file.gd'],
\ 'gdmo': ['file.mo', 'file.gdmo'],
*** ../vim-8.2.4570/src/version.c 2022-03-15 10:53:01.551462719 +0000
--- src/version.c 2022-03-15 11:58:44.035892382 +0000
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4571,
/**/
--
Error 42: No errors
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220315120059.4833E1C42FC%40moolenaar.net.