Support snippet for python function
Many of my other commonly used languages have a similar snippet as well.
This commit is contained in:
		
							parent
							
								
									4b00548768
								
							
						
					
					
						commit
						df7385af0d
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		
							
								
								
									
										6
									
								
								configs/shared/.emacs.d/snippets/python-mode/function
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								configs/shared/.emacs.d/snippets/python-mode/function
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,6 @@
 | 
			
		|||
# -*- mode: snippet -*-
 | 
			
		||||
# name: Function
 | 
			
		||||
# key: fn
 | 
			
		||||
# --
 | 
			
		||||
def $1($2):
 | 
			
		||||
    $3
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue