mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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: vim/vim#14357
a75f4791b1
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
parent
96d77b2051
commit
2e0233d003
@ -637,6 +637,7 @@ local extension = {
|
||||
nse = 'lua',
|
||||
rockspec = 'lua',
|
||||
lua = 'lua',
|
||||
tlu = 'lua',
|
||||
luau = 'luau',
|
||||
lrc = 'lyrics',
|
||||
m = detect.m,
|
||||
|
@ -386,7 +386,7 @@ func s:GetFilenameChecks() abort
|
||||
\ 'lpc': ['file.lpc', 'file.ulpc'],
|
||||
\ 'lsl': ['file.lsl'],
|
||||
\ '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'],
|
||||
\ 'lynx': ['lynx.cfg'],
|
||||
\ 'lyrics': ['file.lrc'],
|
||||
|
Loading…
Reference in New Issue
Block a user