Patch 9.0.1503

3 views
Skip to first unread message

Bram Moolenaar

unread,
Apr 30, 2023, 4:25:31 PM4/30/23
to vim...@googlegroups.com

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 -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages