fix: cannot use function as cmp kind (#184)
This commit is contained in:
		
							parent
							
								
									3dbdba198a
								
							
						
					
					
						commit
						dbf2509d44
					
				@ -26,7 +26,7 @@ function source:get_keyword_pattern()
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
function source:complete(_, callback)
 | 
			
		||||
  local kind = require("cmp").lsp.CompletionItemKind.Function
 | 
			
		||||
  local kind = require("cmp").lsp.CompletionItemKind.Variable
 | 
			
		||||
 | 
			
		||||
  local items = {}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user