1
0
forked from aniani/vim

patch 9.1.0236: filetype: texlua files are not recognized

Problem:  filetype: texlua files are not recognized
Solution: Add '*.tlu' pattern for texlua files (Wu, Zhenyu)

Reference: https://github.com/TeX-Live/texdoc/tree/master/script

closes: #14357

Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Wu, Zhenyu
2024-03-31 19:02:26 +02:00
committed by Christian Brabandt
parent 4ff83b904e
commit a75f4791b1
3 changed files with 5 additions and 3 deletions

View File

@@ -1241,8 +1241,8 @@ au BufNewFile,BufRead *.lot,*.lotos setf lotos
" Lout (also: *.lt) " Lout (also: *.lt)
au BufNewFile,BufRead *.lou,*.lout setf lout au BufNewFile,BufRead *.lou,*.lout setf lout
" Lua " Lua, Texlua
au BufNewFile,BufRead *.lua setf lua au BufNewFile,BufRead *.lua,*.tlu setf lua
" Luau " Luau
au BufNewFile,BufRead *.luau setf luau au BufNewFile,BufRead *.luau setf luau

View File

@@ -396,7 +396,7 @@ def s:GetFilenameChecks(): dict<list<string>>
lpc: ['file.lpc', 'file.ulpc'], lpc: ['file.lpc', 'file.ulpc'],
lsl: ['file.lsl'], lsl: ['file.lsl'],
lss: ['file.lss'], lss: ['file.lss'],
lua: ['file.lua', 'file.rockspec', 'file.nse', '.luacheckrc', '.busted'], lua: ['file.lua', 'file.tlu', 'file.rockspec', 'file.nse', '.luacheckrc', '.busted'],
luau: ['file.luau'], luau: ['file.luau'],
lynx: ['lynx.cfg'], lynx: ['lynx.cfg'],
lyrics: ['file.lrc'], lyrics: ['file.lrc'],

View File

@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
236,
/**/ /**/
235, 235,
/**/ /**/