Christian Clason 
							
						 
					 
					
						
						
							
						
						97f38f0a9b 
					 
					
						
						
							
							fix(treesitter): do not link @error by default  
						
						... 
						
						
						
						The @error capture is used for tree-sitter's ERROR node, which indicates
a parsing error -- which can be quite frequent (and jarring) while typing.
Users can still manually `hi link @error Error` in their config. 
						
						
					 
					
						2022-09-06 07:57:46 +02:00 
						 
				 
			
				
					
						
							
							
								Christian Clason 
							
						 
					 
					
						
						
							
						
						64cc78c9f3 
					 
					
						
						
							
							feat(treesitter): add injections  
						
						
						
						
					 
					
						2022-09-06 07:57:46 +02:00 
						 
				 
			
				
					
						
							
							
								Christian Clason 
							
						 
					 
					
						
						
							
						
						6254b0fd3b 
					 
					
						
						
							
							ci(tests): don't skip parsers on functionaltest  
						
						... 
						
						
						
						Treesitter parsers are now a mandatory part of the installation and
should be tested on all platforms. Remove `pending_c_parser` helper. 
						
						
					 
					
						2022-09-06 07:57:46 +02:00 
						 
				 
			
				
					
						
							
							
								bfredl 
							
						 
					 
					
						
						
							
						
						b04ef7f6b9 
					 
					
						
						
							
							fix(treesitter): make it get_captures_at_position  
						
						
						
						
					 
					
						2022-08-26 13:57:31 +02:00 
						 
				 
			
				
					
						
							
							
								bfredl 
							
						 
					 
					
						
						
							
						
						030b422d1e 
					 
					
						
						
							
							feat(treesitter)!: use @foo.bar style highlight groups  
						
						... 
						
						
						
						This removes the support for defining links via
vim.treesitter.highlighter.hl_map (never documented, but plugins did
anyway), or the uppercase-only `@FooGroup.Bar` to `FooGroup` rule.
The fallback is now strictly `@foo.bar.lang` to `@foo.bar` to `@foo`,
and casing is irrelevant (as it already was outside of treesitter)
For compatibility, define default links to builting syntax groups
as defined by pre-existing color schemes 
						
						
					 
					
						2022-08-26 13:57:31 +02:00 
						 
				 
			
				
					
						
							
							
								bfredl 
							
						 
					 
					
						
						
							
						
						6eca9b69c4 
					 
					
						
						
							
							feat(ui): allow conceal to be defined in decorations  
						
						... 
						
						
						
						Unlike syntax conceal, change highlight of concealed char
Can be used in tree-sitter using "conceal" metadata. 
						
						
					 
					
						2022-03-20 18:02:41 +01:00 
						 
				 
			
				
					
						
							
							
								Stephan Seitz 
							
						 
					 
					
						
						
							
						
						8ab5ec4aaa 
					 
					
						
						
							
							feat(tree-sitter): allow Atom-style capture fallbacks ( #14196 )  
						
						... 
						
						
						
						This allows falling back to `@definition` when we have no mapping
`@definition.fancy-specialization`.
This behavior is described in tree-sitter's documentation
(https://tree-sitter.github.io/tree-sitter/syntax-highlighting#theme ).
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/738  
						
						
					 
					
						2022-02-16 19:38:19 +01:00 
						 
				 
			
				
					
						
							
							
								Stephan Seitz 
							
						 
					 
					
						
						
							
						
						242608e669 
					 
					
						
						
							
							feat(treesitter): allow to set highlight priority for queries  
						
						
						
						
					 
					
						2021-07-22 21:38:57 +02:00 
						 
				 
			
				
					
						
							
							
								Steven Sojka 
							
						 
					 
					
						
						
							
						
						8bea39f372 
					 
					
						
						
							
							feat(treesitter): allow injections to be configured through directives  
						
						
						
						
					 
					
						2021-04-02 12:48:16 -05:00 
						 
				 
			
				
					
						
							
							
								TJ DeVries 
							
						 
					 
					
						
						
							
						
						d50f99f08b 
					 
					
						
						
							
							fixup: remove unused test function  
						
						
						
						
					 
					
						2021-03-31 18:09:03 +02:00 
						 
				 
			
				
					
						
							
							
								TJ DeVries 
							
						 
					 
					
						
						
							
						
						06c065469b 
					 
					
						
						
							
							ts: Add per-language highlight links  
						
						
						
						
					 
					
						2021-03-31 18:09:00 +02:00 
						 
				 
			
				
					
						
							
							
								TJ DeVries 
							
						 
					 
					
						
						
							
						
						d6209a7b84 
					 
					
						
						
							
							fixup: Add a test and it is so pretty  
						
						
						
						
					 
					
						2021-03-30 10:57:38 -04:00 
						 
				 
			
				
					
						
							
							
								Björn Linse 
							
						 
					 
					
						
						
							
						
						a58d96a7ed 
					 
					
						
						
							
							buffer updates: mark sorted region as changed.  
						
						... 
						
						
						
						NB: currently this invalidates all extmarks inside the region.
Later on within-line extmarks could be preserved 
						
						
					 
					
						2021-01-03 14:47:37 +01:00 
						 
				 
			
				
					
						
							
							
								Björn Linse 
							
						 
					 
					
						
						
							
						
						adb01190c4 
					 
					
						
						
							
							tests: make treesitter its own category  
						
						
						
						
					 
					
						2021-01-03 14:47:29 +01:00