Patch 9.0.0319
Problem:    Godot shader files are not recognized.
Solution:   Add patterns for "gdshader". (Maxim Kim, closes #11006)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.0318/runtime/filetype.vim        2022-08-29 11:57:14.385885679 
+0100
--- runtime/filetype.vim        2022-08-29 15:22:58.102630494 +0100
***************
*** 696,702 ****
  au BufNewFile,BufRead *.gd                    setf gdscript
  
  " Godot resource
! au BufRead,BufNewFile *.tscn,*.tres                   setf gdresource
  
  " Gedcom
  au BufNewFile,BufRead *.ged,lltxxxxx.txt      setf gedcom
--- 696,705 ----
  au BufNewFile,BufRead *.gd                    setf gdscript
  
  " Godot resource
! au BufRead,BufNewFile *.tscn,*.tres           setf gdresource
! 
! " Godot shader
! au BufRead,BufNewFile *.gdshader,*.shader     setf gdshader
  
  " Gedcom
  au BufNewFile,BufRead *.ged,lltxxxxx.txt      setf gedcom
*** ../vim-9.0.0318/src/testdir/test_filetype.vim       2022-08-29 
11:57:14.385885679 +0100
--- src/testdir/test_filetype.vim       2022-08-29 15:26:22.130208454 +0100
***************
*** 209,214 ****
--- 209,215 ----
      \ 'gdmo': ['file.mo', 'file.gdmo'],
      \ 'gdresource': ['file.tscn', 'file.tres'],
      \ 'gdscript': ['file.gd'],
+     \ 'gdshader': ['file.gdshader', 'file.shader'],
      \ 'gedcom': ['file.ged', 'lltxxxxx.txt', '/tmp/lltmp', '/tmp/lltmp-file', 
'any/tmp/lltmp', 'any/tmp/lltmp-file'],
      \ 'gemtext': ['file.gmi', 'file.gemini'],
      \ 'gift': ['file.gift'],
*** ../vim-9.0.0318/src/version.c       2022-08-29 15:06:46.724715525 +0100
--- src/version.c       2022-08-29 15:25:31.458313068 +0100
***************
*** 709,710 ****
--- 709,712 ----
  {   /* Add new patch number below this line */
+ /**/
+     319,
  /**/

-- 
A M00se once bit my sister ...
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// 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/20220829143358.D4ADD1C07CD%40moolenaar.net.

Raspunde prin e-mail lui