Patch 9.0.1503
Problem:    Luau files are not recognized.
Solution:   Add a patter for Luau files. (Amaan Qureshi, closes #12317)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.1502/runtime/filetype.vim        2023-04-22 21:38:43.154215972 
+0100
--- runtime/filetype.vim        2023-04-30 21:20:51.171625962 +0100
***************
*** 1190,1195 ****
--- 1190,1198 ----
  " Lua
  au BufNewFile,BufRead *.lua                   setf lua
  
+ " Luau
+ au BufNewFile,BufRead *.luau          setf luau
+ 
  " Luacheck
  au BufNewFile,BufRead .luacheckrc             setf lua
  
*** ../vim-9.0.1502/src/testdir/test_filetype.vim       2023-04-22 
21:38:43.154215972 +0100
--- src/testdir/test_filetype.vim       2023-04-30 21:20:51.171625962 +0100
***************
*** 346,351 ****
--- 346,352 ----
      \ 'lsl': ['file.lsl'],
      \ 'lss': ['file.lss'],
      \ 'lua': ['file.lua', 'file.rockspec', 'file.nse', '.luacheckrc', 
'.busted'],
+     \ 'luau': ['file.luau'],
      \ 'lynx': ['lynx.cfg'],
      \ 'lyrics': ['file.lrc'],
      \ 'm3build': ['m3makefile', 'm3overrides'],
*** ../vim-9.0.1502/src/version.c       2023-04-30 19:15:09.285424145 +0100
--- src/version.c       2023-04-30 21:23:46.132426049 +0100
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1503,
  /**/

-- 
BEDEVERE:        Why do you think she is a witch?
SECOND VILLAGER: She turned me into a newt.
BEDEVERE:        A newt?
SECOND VILLAGER: (After looking at himself for some time) I got better.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- b...@moolenaar.net -- 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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20230430202525.EA2201C0DA0%40moolenaar.net.

Raspunde prin e-mail lui