Use snippet provided by completed_item if it's present
				
					
				
			This commit is contained in:
		
							parent
							
								
									b823c2e639
								
							
						
					
					
						commit
						6f7f877318
					
				@ -301,6 +301,10 @@ endfunction"}}}
 | 
			
		||||
function! neosnippet#parser#_get_completed_snippet(completed_item, next_text) abort "{{{
 | 
			
		||||
  let item = a:completed_item
 | 
			
		||||
 | 
			
		||||
  if has_key(item, "snippet")
 | 
			
		||||
    return item.snippet
 | 
			
		||||
  endif
 | 
			
		||||
 | 
			
		||||
  " Set abbr
 | 
			
		||||
  let abbr = (item.abbr != '') ? item.abbr : item.word
 | 
			
		||||
  if len(item.menu) > 5
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user