mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 01:34:25 +00:00 
			
		
		
		
	fix(treesitter): update highlights for query (#23699)
captures for `; extends` and `; inherits`
This commit is contained in:
		@@ -27,8 +27,8 @@
 | 
			
		||||
((parameters (identifier) @number)
 | 
			
		||||
 (#match? @number "^[-+]?[0-9]+(.[0-9]+)?$"))
 | 
			
		||||
 | 
			
		||||
((program . (comment) @include)
 | 
			
		||||
 (#match? @include "^;\ +inherits\ *:"))
 | 
			
		||||
((program . (comment)* . (comment) @include)
 | 
			
		||||
 (#lua-match? @include "^;+ *inherits *:"))
 | 
			
		||||
 | 
			
		||||
((program . (comment) @preproc)
 | 
			
		||||
 (#match? @preproc "^; +extends"))
 | 
			
		||||
((program . (comment)* . (comment) @preproc)
 | 
			
		||||
 (#lua-match? @preproc "^;+ *extends"))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user