mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 01:34:25 +00:00 
			
		
		
		
	syntax: Exclude deprecated options
Excluded options (compatible, edcompatible and ttyfast) are listed in vimOnlyOption group.
This commit is contained in:
		@@ -58,6 +58,7 @@ local vimopt_start = 'syn keyword vimOption contained '
 | 
				
			|||||||
w('\n\n' .. vimopt_start)
 | 
					w('\n\n' .. vimopt_start)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
for _, opt_desc in ipairs(options.options) do
 | 
					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
 | 
					    if lld.line_length > 850 then
 | 
				
			||||||
      w('\n' .. vimopt_start)
 | 
					      w('\n' .. vimopt_start)
 | 
				
			||||||
    end
 | 
					    end
 | 
				
			||||||
@@ -73,6 +74,7 @@ for _, opt_desc in ipairs(options.options) do
 | 
				
			|||||||
        w(' no' .. opt_desc.abbreviation)
 | 
					        w(' no' .. opt_desc.abbreviation)
 | 
				
			||||||
      end
 | 
					      end
 | 
				
			||||||
    end
 | 
					    end
 | 
				
			||||||
 | 
					  end
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
w('\n\nsyn case ignore')
 | 
					w('\n\nsyn case ignore')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user