11" Vim syntax file
22" Language: Fennel
3- " Last Change: 2024-02-08
3+ " Last Change: 2025-12-24
44" Maintainer: NACAMURA Mitsuhiro <m15@m15a.dev>
55" URL: https://github.com/m15a/vim-fennel-syntax
66" License: MIT
7- " NOTE: Automatically generated by tools /build-lua-keywords.fnl. DO NOT EDIT!
7+ " NOTE: Automatically generated by ./_tools /build-lua-keywords.fnl. DO NOT EDIT!
88
99if ! exists (' b:did_fennel_syntax' )
1010 finish
@@ -31,21 +31,26 @@ syn keyword fennelLuaKeyword string.char string.dump string.find string.format s
3131syn keyword fennelLuaKeyword string.gsub string.len string.lower string.match string.rep
3232syn keyword fennelLuaKeyword string.reverse string.sub string.upper table.concat table.insert
3333syn keyword fennelLuaKeyword table.remove table.sort tonumber tostring type xpcall
34- if match (s: lua_version , ' ^5\.[234 ]$' ) > -1
34+ if match (s: lua_version , ' ^5\.[2345 ]$' ) > -1
3535 syn keyword fennelLuaKeyword debug.getuservalue debug.setuservalue debug.upvalueid
3636 syn keyword fennelLuaKeyword debug.upvaluejoin package.config package.searchers
3737 syn keyword fennelLuaKeyword package.searchpath rawlen table.pack table.unpack
3838endif
39- if match (s: lua_version , ' ^5\.[12]$' ) > -1
40- syn keyword fennelLuaKeyword math.atan2 math.cosh math.frexp math.ldexp math.pow math.sinh
41- syn keyword fennelLuaKeyword math.tanh
39+ if match (s: lua_version , ' ^5\.[125]$' ) > -1
40+ syn keyword fennelLuaKeyword math.frexp math.ldexp
4241endif
43- if match (s: lua_version , ' ^5\.[34 ]$' ) > -1
42+ if match (s: lua_version , ' ^5\.[345 ]$' ) > -1
4443 syn keyword fennelLuaKeyword coroutine.isyieldable math.maxinteger math.mininteger math.tointeger
4544 syn keyword fennelLuaKeyword math.type math.ult string.pack string.packsize string.unpack
4645 syn keyword fennelLuaKeyword table.move utf8.char utf8.charpattern utf8.codepoint utf8.codes
4746 syn keyword fennelLuaKeyword utf8.len utf8.offset
4847endif
48+ if match (s: lua_version , ' ^5\.[12]$' ) > -1
49+ syn keyword fennelLuaKeyword math.atan2 math.cosh math.pow math.sinh math.tanh
50+ endif
51+ if match (s: lua_version , ' ^5\.[45]$' ) > -1
52+ syn keyword fennelLuaKeyword coroutine.close warn
53+ endif
4954if match (s: lua_version , ' ^5\.1$' ) > -1
5055 syn keyword fennelLuaKeyword debug.getfenv debug.setfenv getfenv loadstring math.log10 module
5156 syn keyword fennelLuaKeyword package.loaders package.seeall setfenv table.maxn unpack
@@ -55,6 +60,6 @@ if match(s:lua_version, '^5\.2$') > -1
5560 syn keyword fennelLuaKeyword bit32.extract bit32.lrotate bit32.lshift bit32.replace bit32.rrotate
5661 syn keyword fennelLuaKeyword bit32.rshift
5762endif
58- if match (s: lua_version , ' ^5\.4 $' ) > -1
59- syn keyword fennelLuaKeyword coroutine.close warn
63+ if match (s: lua_version , ' ^5\.5 $' ) > -1
64+ syn keyword fennelLuaKeyword table.create
6065endif
0 commit comments