mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	fix(treesitter): show capture-level priorities in :Inspect #35443
This commit is contained in:
		| @@ -200,7 +200,9 @@ function vim.show_pos(bufnr, row, col, filter) | |||||||
|         capture, |         capture, | ||||||
|         string.format( |         string.format( | ||||||
|           'priority: %d   language: %s', |           'priority: %d   language: %s', | ||||||
|           capture.metadata.priority or vim.hl.priorities.treesitter, |           capture.metadata.priority | ||||||
|  |             or (capture.metadata[capture.id] and capture.metadata[capture.id].priority) | ||||||
|  |             or vim.hl.priorities.treesitter, | ||||||
|           capture.lang |           capture.lang | ||||||
|         ) |         ) | ||||||
|       ) |       ) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Riley Bruins
					Riley Bruins