syntax: Exclude deprecated options

Excluded options (compatible, edcompatible and ttyfast) are listed in 
vimOnlyOption group.
This commit is contained in:
ZyX 2015-07-26 21:39:19 +03:00
parent 853ba34103
commit 6f35bcfb07

View File

@ -58,6 +58,7 @@ local vimopt_start = 'syn keyword vimOption contained '
w('\n\n' .. vimopt_start)
for _, opt_desc in ipairs(options.options) do
if not opt_desc.varname or opt_desc.varname:sub(1, 7) ~= 'p_force' then
if lld.line_length > 850 then
w('\n' .. vimopt_start)
end
@ -74,6 +75,7 @@ for _, opt_desc in ipairs(options.options) do
end
end
end
end
w('\n\nsyn case ignore')
local vimau_start = 'syn keyword vimAutoEvent contained '