mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 01:34:25 +00:00 
			
		
		
		
	fix(treesitter): update lua, markdown queries
This commit is contained in:
		
				
					committed by
					
						
						Christian Clason
					
				
			
			
				
	
			
			
			
						parent
						
							94de236815
						
					
				
				
					commit
					d8eec81560
				
			@@ -17,8 +17,7 @@
 | 
				
			|||||||
    (string
 | 
					    (string
 | 
				
			||||||
      content: _ @injection.content)))
 | 
					      content: _ @injection.content)))
 | 
				
			||||||
  (#set! injection.language "vim")
 | 
					  (#set! injection.language "vim")
 | 
				
			||||||
  (#any-of? @_vimcmd_identifier
 | 
					  (#any-of? @_vimcmd_identifier "vim.cmd" "vim.api.nvim_command" "vim.api.nvim_exec2"))
 | 
				
			||||||
    "vim.cmd" "vim.api.nvim_command" "vim.api.nvim_command" "vim.api.nvim_exec2"))
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
((function_call
 | 
					((function_call
 | 
				
			||||||
  name: (_) @_vimcmd_identifier
 | 
					  name: (_) @_vimcmd_identifier
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,12 @@
 | 
				
			|||||||
([
 | 
					([
 | 
				
			||||||
  (fenced_code_block)
 | 
					  (fenced_code_block)
 | 
				
			||||||
  (indented_code_block)
 | 
					  (indented_code_block)
 | 
				
			||||||
  (list)
 | 
					  (list_item
 | 
				
			||||||
 | 
					    (list))
 | 
				
			||||||
  (section)
 | 
					  (section)
 | 
				
			||||||
] @fold
 | 
					] @fold
 | 
				
			||||||
  (#trim! @fold))
 | 
					  (#trim! @fold))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(section
 | 
				
			||||||
 | 
					  (list) @fold
 | 
				
			||||||
 | 
					  (#trim! @fold))
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user